扫码关注官方订阅号
Xcode build 时 控制台报错 2016-03-16 18:26:23.807 XiangMu[1173:68979] Failed to set (cornerRadius) user defined inspected property on (UIView): [ setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key cornerRadius.
这种报错,可以根据 [ setValue:forUndefinedKey:] 这个信息,找到出错的那个UIView吗
认证高级PHP讲师
可以试试在xib (xml文本)里面按字串找那个属性
把Key Path里面的cornerRadius改为layer.cornerRadius
利用全局断点可以直接定位到出错的地方
微信扫码关注PHP中文网服务号
QQ扫码加入技术交流群
Copyright 2014-2026 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
PHP学习
技术支持
返回顶部
可以试试在xib (xml文本)里面按字串找那个属性
把Key Path里面的cornerRadius改为layer.cornerRadius
利用全局断点可以直接定位到出错的地方