navigation bar issue in IOS 16

Viewed 20

An IOS 16 When i move to next screen previous screen back button and title is just sticking on left side of bar. it's working fine for all previous IOS version.

    navigationController?.navigationBar.isTranslucent = false
    title = "HOME"
    navigationController?.navigationBar.titleTextAttributes = [.foregroundColor: UIColor.white]
    navigationItem.leftBarButtonItem = UIBarButtonItem(image: UIImage(named: "menu") , style: .done, target:self, action: #selector(didTapMenu))
       navigationController?.navigationBar.tintColor = UIColor.white

0 Answers
Related