xib:*** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<NSObject 0x1

来源:互联网 发布:华硕笔记本win10优化 编辑:程序博客网 时间:2024/05/22 06:19

在使用xib过程中出现 *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<NSObject 0x150428f90> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key topRound.'

开始检查了File's Owner 和Class, 都是正确的.然后以为是拉线拉错了,反反复复拉了几次,发现了object选项有误


将其改为自定义的cell就可以了

2 0