Search This Blog

Monday, October 10, 2016

How to hide navigation bar for Navigation Controller

If you use Navigation View Controller but want to hide navigation bar you can use following:
override func viewDidLoad() {
    super.viewDidLoad()
    self.navigationController?.setNavigationBarHidden(true, animated: false)
}

No comments:

Post a Comment