繁体   English   中英

如何在界面生成器中查找用户定义的检查属性错误?

[英]how to find user defined inspected property errors in interface builder?

我有以下错误,我知道它来自哪个 storyboard。 如何在界面构建器中搜索 uibutton/view?

Failed to set (top) user defined inspected property on (UILabel): [<UILabel 0x7fd2cd3205f0> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key top.

我建议只在 xcode 中设置一个断点,然后将 memory 地址转换为正确的类型并打印它。

po (UILabel *)0x137d4d060

不要在括号和十六进制值之间放置空格,否则它将无法正常工作。 它对空白很挑剔。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM