作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我有一个包含 3 个项目的 UITabBarController
,当应用程序启动时,所有项目的图标都显示有色,而不是一个有色而另外两个变灰:
在我浏览选项卡后,它们开始正常运行。为什么会这样?
最佳答案
将这一行添加到您的 App Delegate
[[UITabBar 外观] setTintColor:[UIColor orangeColor]];
关于ios - 当应用程序启动时,所有 UITabBarItem 图标都会着色,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26404103/
我是一名优秀的程序员,十分优秀!