Set Status Bar Color in Swift

January 2014

Within your AppDelegate.swift, in didFinishLaunchingWithOptions:

UINavigationbar.appearance().barTintColor = UIColor.greenColor() language-UINavigationbar.appearance().barTintColor = UIColor.greenColor()>

Optionally, if you need a specific color, how you do it with RGB:

UINavigationBar.appearance().barTintColor = UIColor(red: 1.0, green: 1.0, blue: 1.0, alpha: 1.0)