Presenting modal view occasionally hides the navigation bar
问题 I've come across this twice now. Sometimes using the following line of code: [self.navigationController presentModalViewController:aViewController animated:YES]; displays the view, but the navigation bar is then hidden. I can write: [self.navigationController setNavigationBarHidden:NO]; to my hearts content, everywhere I can think of with no effect. Has anyone ran into this? Am I doing something silly? 回答1: No, I ran into this as well. The problem is that when you present a modal view