Tab Bar color customizing

suggest change

tabBarBackgroundColor, tabBarInactiveColor, and appBlueColor are not UIKit methods. They have to be defined elsewhere. Set the appearance proxy before those bars are created. backgroundColor does not paint a tab bar the way barTintColor does.

[[UITabBar appearance] setTintColor:[UIColor whiteColor]];
[[UITabBar appearance] setBarTintColor:[UIColor tabBarBackgroundColor]];
[[UITabBar appearance] setBackgroundColor:[UIColor tabBarInactiveColor]];
[[UINavigationBar appearance] setBarTintColor:[UIColor appBlueColor]];
[[UINavigationBar appearance] setTintColor:[UIColor whiteColor]];
[[UINavigationBar appearance] setBarStyle:UIBarStyleBlack];

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents