Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to change inactive icon/text color on tab bar?

How can I change inactive icon/text color on iOS 7 tab bar? The one in gray color.

enter image description here

like image 900
Pablo Avatar asked Mar 31 '14 16:03

Pablo


People also ask

How do I change the tab title color in Swift bar?

backgroundColor = UIColor(red:1, green:0, blue:0, alpha:1) / UITabBar. appearance(). tintColor = UIColor(red: 1, green: 0, blue: 0, alpha: 1) // New!! func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {...}


1 Answers

You can also set the property Render As of your tab bar images within your asset catalog directly. There you have the option to set the property to Default, Original Image and Template Image.

Set render option of image

like image 132
anka Avatar answered Sep 20 '22 11:09

anka