ios - tintColor 在 iPhone 6 plus 上显得更暗

标签 ios iphone uicolor tintcolor

当我使用任何 UIKit 对象的 tintColor 属性时。颜色在 iPhone 6 plus 上总是显得更暗。这有什么共鸣吗? 下面是在 iPhone 6 和 iPhone 6 plus 上进行相同测试的屏幕截图。分配给蓝色方 block 的 UIColor 和图标(UIButton 色调颜色)是否完全相同?我找不到有类似问题的人:

enter image description here

enter image description here

这是一个带有 UISegmentedControl 的:

enter image description here

最佳答案

有问题的 iPhone 6+ 在“辅助功能”->“增加对比度”中选择了“深色”选项。

感谢@EricS!

关于ios - tintColor 在 iPhone 6 plus 上显得更暗,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35752959/

相关文章:

ios - 获取 iPhone 麦克风数据以通过 Socket 进行流式传输

objective-c - EKEventStore 时区不是 GMT

ios - 如何快速将 View Controller 弹出到以前的 View Controller 之一?

ios - 为给定的 UIColor 获取更亮和更暗的颜色变化

iphone - 如何将颜色从一种颜色空间转换为另一种颜色空间?

ios - 使用作为参数传递的 UIColor 设置 CGContextSetStrokeColorWithColor

ios - 如何让我的应用程序忽略特定触摸?

iphone - 存档应用程序时,Xcode 认为我的 Icon@2x.png 适用于 iPad 而不是 iPhone 4

iphone - 在 UItextView iPhone 中获取最大内容偏移量

objective-c - 在 UIWebView 中检测下载