SyntaxFix
Write A Post
Hire A Developer
Questions
Use the appearance API, and barTintColor color.
UINavigationBar.appearance().barTintColor = UIColor.greenColor()