Skip to content

Instantly share code, notes, and snippets.

@berkedel
Created September 3, 2017 16:10
Show Gist options
  • Save berkedel/f8eb368fda16370e1b6e1f82038b834c to your computer and use it in GitHub Desktop.
Save berkedel/f8eb368fda16370e1b6e1f82038b834c to your computer and use it in GitHub Desktop.
How to set status bar in Swift 3
* Go into `Info.plist` and add a row called `View controller-based status bar appearance` and set its (boolean-only) value to `NO`.
* In app delegate
```
UIApplication.shared.statusBarStyle = .lightContent
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment