我把UIBarButtonItem
tintColor
设置为白色,在storyboard和simulator中都是白色的,但是在真机上运行就变成灰色了!为什么这么奇怪?
另外当设置一个UIBarButtonItem
图像时也有同样的问题
在真实手机中:
在模拟器中:
最佳答案
我遇到了同样的问题,下一个方法帮助了我:
- 转至 iPhone 设置 -> 常规 -> 辅助功能 -> 增加对比度
- 关闭“加深颜色”;
关于ios - UIBarButtonItem setTintColor white 但在真实手机中运行时它变为灰色,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32815751/