问题描述
我在 Xcode 12 中观察到有线行为
当我通过 Xcode 12 在 ios 11 或 12 模拟器上运行应用程序时,我的应用程序崩溃。
我在 .xib 文件中的用户定义属性下设置了 UIButton 的 borderColor
属性,我在这里分配了 namedColor。应用程序在通过 Xcode 11 运行时工作正常,或者如果我分配系统提供的颜色而不是 namedColor。 Xcode 12 中是否有任何更改导致此崩溃?
*** Terminating app due to uncaught exception 'NSUnkNownKeyException',reason: '[<UIButton 0x7f8aea05xxxx> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key borderColor.'
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)