How can I change the color of the header section (status bar) in an iPhone App. The part with the carrier, time, and battery.
This part
More specifically, this part. I'd like to change the UI from black, to white or an easier to see color.
How can I change the color of the header section (status bar) in an iPhone App. The part with the carrier, time, and battery.
This part
More specifically, this part. I'd like to change the UI from black, to white or an easier to see color.
To change the navigation bar color:
navigationController!.navigationBar.barTintColor = UIColor.blueColor()
To change the text in the navigation bar:
navigationController!.navigationBar.titleTextAttributes = [NSForegroundColorAttributeName: UIColor.yellowColor()]
Update
To change the status bar:
View controller-based status bar appearance
and set the value to NO
White bar:
UIApplication.sharedApplication().statusBarStyle = .LightContent
Dark bar:
UIApplication.sharedApplication().statusBarStyle = .Default