How to set Status Bar Style in Swift 3
[UPDATED] For Xcode 10+ & Swift 4.2+ This is the preferred method for iOS 7 and higher In your application’s Info.plist, set View controller-based status bar appearance to YES. Override preferredStatusBarStyle (Apple docs) in each of your view controllers. For example: override var preferredStatusBarStyle: UIStatusBarStyle { return .lightContent } If you have preferredStatusBarStyle returning a … Read more