I want to change global background color of navigationBar. How can I do this?
The line:
UINavigationBar.appearance().backgroundColor = UIColor.green
in application(_:, didFinishLaunchingWithOptions:)
doesn't work, while:
UINavigationBar.appearance().tintColor = UIColor.red
works correctly.