mirror of
https://github.com/wahyd4/Yep.git
synced 2026-08-18 17:25:59 +10:00
Change title font color
This commit is contained in:
@@ -74,6 +74,14 @@ class ProfileViewController: UIViewController {
|
||||
self.navigationController?.navigationBar.barStyle = UIBarStyle.BlackTranslucent
|
||||
self.navigationController?.navigationBar.setBackgroundImage(UIImage(), forBarMetrics: UIBarMetrics.Default)
|
||||
|
||||
let textAttributes = [
|
||||
NSForegroundColorAttributeName: UIColor.whiteColor(),
|
||||
NSFontAttributeName: UIFont(name: "HelveticaNeue-CondensedBlack", size: 20)!
|
||||
]
|
||||
|
||||
self.navigationController?.navigationBar.titleTextAttributes = textAttributes
|
||||
|
||||
|
||||
NSNotificationCenter.defaultCenter().addObserver(self, selector: "changeProfileImage", name: YepChangeProfilePhotoNotification, object: nil)
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user