I\'m using a storyboard and I\'m trying to hide a top bar of my main navigation controller when a certain button is pressed (or function is called). I know I have to initial
I faced same problem, this worked for me
navController.navigationBar.hidden = YES;