Hello guys I am making a Universal app and the behavior of UINavigationBar on iPad for a ViewController class not working.I googling a lot and also try the many solutions but did’t work for me.The setHidden property of UINavigationBar not working on iPad but it working fine in iPhone. UINavigationBar not hide in iPad I use the following way to make it hide but all these way failed in iPad but these working in iPhone:-
[self.navigationController setNavigationBarHidden:YES animated:YES];
and
self.navigationController.navigationBarHidden = YES;
And one more point when I goes from this 1st viewController to another 2nd ViewController and when I pop from 2nd ViewController then it goes to different ViewController class not to 1st ViewController class.
First off, are you sure you are suing a UINavigationController, not a UISplitViewController (as Shivan rightfully points out)? Also, are you sure your are running your hide action from your main tread ?
In any case, I found this, that might help you;