More on disabling the status bar on iOS7+

Sometimes adding a row called “View controller-based status bar appearance” and setting it to boolean NO in the Target Info properties tab doesn’t disable the status bar properly. If this happens, you can try this…

In your root-view controller class, add the following method:

- (BOOL)prefersStatusBarHidden {
    return YES;
}
Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *