ios - Xcode build 时 控制台报错
PHP中文网
PHP中文网 2017-04-17 17:42:26
0
3
326

Xcode build 时 控制台报错
2016-03-16 18:26:23.807 XiangMu[1173:68979] Failed to set (cornerRadius) user defined inspected property on (UIView): [<UIView 0x7fdfc3c37a00> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key cornerRadius.

这种报错,可以根据 [<UIView 0x7fdfc3c37a00> setValue:forUndefinedKey:] 这个信息,找到出错的那个UIView吗

PHP中文网
PHP中文网

认证高级PHP讲师

reply all(3)
伊谢尔伦

You can try to find that attribute by string in xib (xml text)

左手右手慢动作

Change cornerRadius in Key Path to layer.cornerRadius

Ty80

Use global breakpoints to locate the error directly

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template