I have two UITableViewController, and in each of them NavigationBar is visible; then I have a simple UIViewController. So I'd like to make NavigationBar invisible only in the third view. I tried
self.navigationController?.navigationBarHidden = true
but this make navigationBar invisibile in every view, after I leave the third one.
I also tried
override func prefersStatusBarHidden() -> Bool {
return true
}
This is my application scheme: only in "DettaglioController" I'd like to make navigationBar invisible.
Any ideas to solve?