*** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[ViewController > setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key

*** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[ViewController > setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key backBtn.'

 

第一种情况:xib文件属性输出口连接错误,IBout多连或者忘关输入口

 

第二种情况:引入第三方的SDK会出现错误,导入的bundle文件的nib文件出现问题,需要重新导入bundle资源文件 若公用SDK中的bundle文件里面的nib文件需要进行放在不同的路径进行调用即可,便于找到nib对应的控制器类

posted @ 2017-02-15 17:31  tryFighting  阅读(463)  评论(0编辑  收藏  举报