setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key ##

出现以上错误时很恶心,并不是代码的问题,是IB中连线的问题。打开console中提示出错的类的xib文件,把所有的连线删掉重新连接。

posted on 2015-03-18 17:26  袁晓平  阅读(135)  评论(0编辑  收藏  举报