How would I go about changing the color of the UINavigationBar in Swift?
UINavigationBar
Most things online say to do something like:
[self.navigationContro
Use NSForegroundColorAttributeName as key, not "NSForegroundColorAttributeName" string.
NSForegroundColorAttributeName
"NSForegroundColorAttributeName"
let titleDict: NSDictionary = [NSForegroundColorAttributeName: UIColor.whiteColor()] self.navigationController.navigationBar.titleTextAttributes = titleDict