2015-05-01 36 views

回答

36

在您的 '應用中:didFinishLaunchingWithOptions'

(window?.rootViewController as! UITabBarController).tabBar.tintColor = UIColor.redColor() 

或使用的外觀委託。

UITabBar.appearance().tintColor = UIColor.redColor() 
+0

而不是.tintColor = ...嘗試使用.barTintColor = – stosha

+0

.barTintColor將更改背景... –