Created
May 3, 2015 15:59
-
-
Save antranapp/89b1ebef5a0a984140a3 to your computer and use it in GitHub Desktop.
[iOS] Change title and tint color for navigation controller
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
self.navigationController?.navigationBar.barTintColor = UIColor.redColor() | |
self.navigationController?.navigationBar.translucent = false | |
self.navigationController?.navigationBar.tintColor = UIColor.whiteColor() | |
self.navigationController?.navigationBar.titleTextAttributes = [NSForegroundColorAttributeName: UIColor.whiteColor()] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment