iOS之报错上架填坑iOS Developer

iOS 崩溃 UIColorAttributeTraitStor

2017-07-17  本文已影响675人  印林泉
Terminating app due to uncaught exception 'NSInvalidUnarchiveOperationException',
reason: 'Could not instantiate class named _UIColorAttributeTraitStorage' 

开发环境:Xcode 9.0 beta 3
运行环境:iOS 10.3-

原因:Color Set新特性只支持iOS 11+
解决方案:
1、 放弃使用Color Set
2、使用Color,或尝试使用ThemeColorImage图片初始化颜色


colorset.jpg
上一篇 下一篇

猜你喜欢

热点阅读