现在的位置: 首页 > 综合 > 正文

this class is not key value coding-compliant for the key XXX错误的解决方法

2011年07月07日 ⁄ 综合 ⁄ 共 174字 ⁄ 字号 评论关闭

今天在听iOS开发讲座时,照着讲座的demo输入代码,尝试运行时遇到了" this class is not key value coding-compliant for the key digitPressed.' "的错误,经过一番搜索和排查发现是自己在设置IBAction和IBOutlet时有多余的连线,按下ctrl键检查控件的连接将多余的连续删除后程序正常运行。

抱歉!评论已关闭.