I want to be change the font of the title to Avenir, and I want to make it white. Here is my code in the viewDidLoad
method:
UINavigationBar.app
I would just create an outlet and do this:
@IBOutlet weak var navigationBar: UINavigationBar!
override func viewDidLoad() {
super.viewDidLoad()
// Do any additional setup after loading the view, typically from a nib.
navigationBar.titleTextAttributes = [NSFontAttributeName: UIFont(name: "Avenir", size: 30)!]
}