Quick Guide to iOS 7 status bar customization.

  1. Ensure you set UIViewControllerBasedStatusBarAppearance to boolean YES in your plist.
  2. Ensure you set still set the default statusBar style in your plist, this will show during the splash screen.
  3. Override preferredStatusBarStyle providing your View Controller is not inside a UINavigationController.
  4. If your View Controller is inside a UINavigationController then preferredStatusBarStyle seems to be ignored completely. Instead the UINavigationController’s navigationBar’s barStyle is used. A dark barStyle makes the statusBar white, the default barStyle makes the statusBar text black.

Leave a Reply

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