clam61 I set View controller-based status bar appearance = NO in the plist but my status bar is still showing. I am kind of out of any ideas.
TTStu Make sure hide status bar during launch is checked on the general project settings page. And of course, clean and rebuild 🙂 (and you presumbaly still need status bar is initially hidden etc for running on iOS < 7 )
clam61 yeah i have the hide status bar option set to YES as well. i deleted the app, did a clean, and then rebuilt. still there! is there anything else i need to do? something in the build target settings?
Shilo In order to use the legacy UIApplication method to hide/show the status bar, your app must set a plist value for iOS 7: View-Controller Based Status Bar Appearance = NO This value is set to YES by default. If you change it to NO, you can use the legacy methods. If you leave it set to YES, you can still hide the status bar, but it's up to each view controller subclass in your app to override: prefersStatusBarHidden to return YES. Any time your app needs the status bar appearance or visibility to change, and View-Controller Based Status Bar Appearance is set to YES, your outermost view controller needs to call: setNeedsStatusBarAppearanceUpdateAnimation http://stackoverflow.com/a/18856079 So a few methods: Make sure "UIViewControllerBasedStatusBarAppearance" is YES in the plist file, than override the prefersStatusBarHidden in all the top-level view controllers: - (void)prefersStatusBarHidden { return YES; } 2. Set "UIViewControllerBasedStatusBarAppearance" to NO in the plist file, and continue to use the UIApplication setter method: [UIApplication sharedApplication].statusBarHidden = YES; Or similar to what TTStu said: In the Plist add the following properties. -> "Status bar is initially hidden" = YES -> "View controller-based status bar appearance" = NO Add both - now the status bar will disappear. http://stackoverflow.com/a/18889716 More info here: http://blog.jaredsinclair.com/post/61507315630/wrestling-with-status-bars-and-navigation-bars-on-ios-7