Skip to content

Instantly share code, notes, and snippets.

@armstrongnate
Last active August 29, 2015 14:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save armstrongnate/47ccdbcde9cf4bcb1be4 to your computer and use it in GitHub Desktop.
Save armstrongnate/47ccdbcde9cf4bcb1be4 to your computer and use it in GitHub Desktop.
custom navigation controller colors
let navigationBarAppearance = UINavigationBar.appearance()
navigationBarAppearance.barTintColor = UIColor(red:170.0/255.0, green:65.0/255.0, blue:65.0/255.0, alpha:1.0)
navigationBarAppearance.tintColor = UIColor.whiteColor()
navigationBarAppearance.titleTextAttributes = [NSForegroundColorAttributeName: UIColor.whiteColor()]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment