preferredStatusBarStyle removed in Swift 3?
In iOS 10, preferredStatusBarStyle is a property, not a method. So instead of overriding it with a func declaration as you’ve done, you override the getter with a var declaration: override var preferredStatusBarStyle: UIStatusBarStyle { return .lightContent } The Swift compiler’s error message here could probably be better — since it seems to know your … Read more