I’m working on the UIAppearance section of chapter 36 and am trying to use the UINavigationBar appearance proxy to globally set the barTintColor property. The book uses the following code:
UINavigationBar.appearance().barTintColor = UIColor.black
When I try it, it looks like UINavigationBar.appearance() doesn’t have a barTintColor property (see below)
Does anybody have any suggestions?