我正在研究UITabBar应用程序。UITabBar所选项目色调
我想更改选定项目颜色与
[[UITabBar appearance] setTintColor:[UIColor redColor]]
这工作,直到我想设置的TabBar的背景颜色与
[[UITabBar appearance] setBarTintColor:[UIColor blueColor]]
那么酒吧是蓝色的,但高亮项目是灰色的。
[[UITabBar appearance] setBackgroundColor:[UIColor blueColor]]
没有效果。 任何想法? 非常感谢!
代替使用颜色,你可以尝试使用图像背景。 –
谢谢 - 与另一个应用程序的图像背景。但我现在制作了两种颜色的图标:) – Steeve