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
navigationbar
It's too late to reply and there are other good answers but I would like to share what worked for me.
let controller = self.storyboard?.instantiateViewControllerWithIdentifier("HomeVC") self.navigationController!.pushViewController(controller!, animated:true)