在 ios 6.1 和以前的版本中我有这样的:
我需要添加对 iOS 7 的支持(并保留 5.1、6.0、6.1),但在 iOS 7 中它看起来像这样:
在 xib 文件中我在标签栏的设置:
在标签 Controller :
要更改什么,在哪里与以前的版本具有相似的外观?
最佳答案
您可以通过设置 tabBar
的 tintColor
来更改突出显示图标的颜色。像这样:
// Example UITabBarController
UITabBarController *tabVC = [UITabBarController alloc] init];
tabVC.tabBar.tintColor = [UIColor yellowColor];
关于iOS7标签栏变化,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19156678/