iOS: Remove Status Bar

Sometimes you might like your status bar in your iOS app to be removed so that it’s more aesthetically pleasing. Try this snippet of code in your UIViewController classes:

- (BOOL)prefersStatusBarHidden {
    return YES;

Leave a Reply

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