Hi I'm new in iOS development. I've one main screen with navigation bar hidden true. From there I am navigating to another view using back segue. but when I click back it showing navigation bar on main screen. Here is my problem description.
In main screen onviewload I am doing :
self.navigationController.navigationBarHidden = YES;
self.navigationController.navigationBarHidden = NO;
Put that code in viewWillAppear instead of viewDidLoad, and it should work properly.