Skip to content

Instantly share code, notes, and snippets.

@wavecos
Last active August 29, 2015 14:26
Show Gist options
  • Save wavecos/eae2844a9d02181093cb to your computer and use it in GitHub Desktop.
Save wavecos/eae2844a9d02181093cb to your computer and use it in GitHub Desktop.
Change status bar color

Change status bar color in iOS

http://www.folio3.com/blog/change-status-bar-color-ios-app/

  1. Open the info.plist file of your app and set the UIViewControllerBasedStatusBarAppearance to NO
  2. Put this in app delegate:
  // Status Bar Color
  UIApplication.sharedApplication().setStatusBarStyle(UIStatusBarStyle.LightContent, animated: true)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment