I am using UIAppearance to apply fonts to UINavigationBar and UIBarButtonItem and I am having problems. I ran this code:
[[UIBarButtonItem appearanceWhenCont
Here it is in Swift:
let font = UIFont(name: "My_Font", size: 17.0) UINavigationBar.appearance().titleTextAttributes = [ NSForegroundColorAttributeName: UIColor.whiteColor(), NSFontAttributeName: font! ]
*Note that you have to unwrap the optional UIFont.