答案 0 :(得分:6)
更改导航栏颜色:
navigationController!.navigationBar.barTintColor = UIColor.blueColor()
要更改导航栏中的文字:
navigationController!.navigationBar.titleTextAttributes = [NSForegroundColorAttributeName: UIColor.yellowColor()]
更新
要更改状态栏:
View controller-based status bar appearance
并将值设置为NO
白条:
UIApplication.sharedApplication().statusBarStyle = .LightContent
暗条:
UIApplication.sharedApplication().statusBarStyle = .Default