iOS Custom Status Bar Background Color not displaying
I am trying to fill the status bar background color to orange using the following UINavigationBar.appearance().tintColor = UIColor.orangeColor() UINavigationBar.appearance().barTintColor = UIColor.orangeColor() UINavigationBar.appearance().titleTextAttributes = [NSForegroundColorAttributeName: UIColor.whiteColor()] UIApplication.sharedApplication().setStatusBarStyle(UIStatusBarStyle.LightContent, animated: true) However, I get a white status bar that should be filled with orange instead from following this example: Customize navigation bar appearance with swift I am setting this up in the