首页 > 其他 > 详细

'NSUnknownKeyException', reason:....etValue:forUndefinedKey:]: this class is not key value coding-compliant for the key

时间:2014-09-07 03:17:24      阅读:474      评论:0      收藏:0      [点我收藏+]

erminating app due to uncaught exception ‘NSUnknownKeyException‘, reason: ‘[<MainTableViewController 0xae26040> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key messageImage1.‘

我的是因为lib组件关联IBOutlet的时候关联到了file‘s ower了。改成直接关联lib对应的那个class即可

 

按钮出发事件的时候同样有类似解决方法的错误,错误如下

Terminating app due to uncaught exception ‘NSInvalidArgumentException‘, reason: ‘-[MainTableViewController gotoThat:]: unrecognized selector sent to instance 0xb91feb0‘

解决方法同上

'NSUnknownKeyException', reason:....etValue:forUndefinedKey:]: this class is not key value coding-compliant for the key

原文:http://www.cnblogs.com/langtianya/p/3960052.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!