I am having multiple view controller in my application. I want to hide navigationbar
in my first view controller. So I use the following code to hide the navigation
in viewDidLoad method of the view controller in which you don't want to show navigation bar add the line
navigationController.navigationBarHidden = true
you are presently hiding in all view controllers
Edit: You are presenting view controller instead it should be
self.navigationController!.pushViewController(controller)