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

运行时遇到了” this class is not key value coding-compliant for the key digitPressed.’ “的错误,
经过一番搜索和排查发现是自己在设置IBAction和IBOutlet时有多余或少添加的连线,检查控件的连接将多余的连续删除后程序正常运行。
这里写图片描述

Logo

瓜分20万奖金 获得内推名额 丰厚实物奖励 易参与易上手

更多推荐