Search code examples
iosios7statusbar

Status bar visible on iPad mini despite setting UIViewControllerBasedStatusBarAppearance to NO


I have an iPhone app with UIViewControllerBasedStatusBarAppearance set to NO. Not on any device I have tested with (iPhone 4, 5, 5s, 5c, iPad 4ish) is the status bar visible. Except on the iPad mini (1st gen). Using iOS SDK is 7.1.

The status bar is visible on iPad mini 1st gen. I expect the status bar to be hidden on this setup as well.

I even tried adding [[UIApplication sharedApplication] setStatusBarHidden:NO]; to didFinishLaunchingWithOptions but it's not changing anything.

Status Bar Style is also set to "Hide during application launch".

The iPad mini runs iOS 7.1.

Yes, it's an edge case but I just can't get it to come up with expected results this time.

One more bit of info: I'm using cocos2d-iphone v2.1. Never ran into this problem before as I have released a bunch of apps with the same engine. I'm beginning to think this is a bug relating to the combination: iOS 7.1 and iPad mini.

This is the setup:

Plist setup looks like this


Solution

  • This is a bug in the iPad Mini iOS version 7.1.

    In typical fashion, they fixed one problem (a blank status bar) and created another one.

    Be sure to report the error to Apple.