Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我已经创建了一些自定义命名颜色,以便在我的项目中使用它之前工作正常。当我安装 Xcode 9.2 时,它显示“命名颜色在 iOS 11.0 之前不起作用”。(我的手机版本是11.1.1。)
通过将项目目标设置为 11 解决的问题
将颜色从例如“backgroundColor”更改为自定义颜色(请参阅“其他...”)或从 iPhoneSDK 更改颜色。