在使用xib时连线后进行编译失败,提示:* Terminating app due to uncaught exception ‘NSUnknownKeyException’, reason: ‘[ setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key iconView.
如果去掉连线再进行编译就会编译成功。
修改方法如下:
在使用xib时连线后进行编译失败,提示:* Terminating app due to uncaught exception ‘NSUnknownKeyException’, reason: ‘[ setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key iconView.
如果去掉连线再进行编译就会编译成功。
修改方法如下: