[九九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];
    原文作者:九九丸子
    原文地址: https://www.jianshu.com/p/6cc3ee5ab450
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞