[九九Tips] -iOS Could not load NIB in bundle

[九九Tips]- http://www.jianshu.com/users/bab86b3e8aa3/latest_articles

错误1:

Terminating app due to uncaught exception 'NSInternalInconsistencyException', 
reason: 'Could not load NIB in bundle: 'NSBundle 
</Users/vivian/Library/Developer/CoreSimulator/
Devices/B7FEDAC7-DD36-4349-BC0E-7AFD6F32B528/data/Containers/Bundle/Application/972A0F81-E4BD-41B8-AB4A-F6C428EB6E48/xxxx.app> (loaded)' with name '__NSCFConstantString''

造成这种错误是由于:下面VVOtherCell的文件名写错.


 [self.tableView registerNib:[UINib nibWithNibName:NSStringFromClass([VVOtherCell class]) bundle:nil] forCellReuseIdentifier:VVOtherCellId];
最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容