Monday, September 26, 2022
HomeiOS Developmentnavigation bar concern in IOS 16

navigation bar concern in IOS 16


An IOS 16 When i transfer to subsequent display earlier display again button and title is simply sticking on left aspect of bar. it is working wonderful for all earlier IOS model.

    navigationController?.navigationBar.isTranslucent = false
    title = "HOME"
    navigationController?.navigationBar.titleTextAttributes = [.foregroundColor: UIColor.white]
    navigationItem.leftBarButtonItem = UIBarButtonItem(picture: UIImage(named: "menu") , model: .performed, goal:self, motion: #selector(didTapMenu))
       navigationController?.navigationBar.tintColor = UIColor.white

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular