一直报如题的那个错误信息。
崩溃的全局断点还是打到了程序的入口。(一脸懵比~~)
各种搜罗 发现是我在调试程序的时候,为了不让cellForRow那个方法报警告。就手残写了一个。
return nil;
然后就脑残忘死了~~
2016-07-11 10:11:09.253 WarmHeart[2043:927720] *** Assertion failure in -[UITableView _configureCellForDisplay:forIndexPath:], /BuildRoot/Library/Caches/com.apple.xbs/Sources/UIKit/UIKit-3512.60.12/UITableView.m:7971
这个错误信息就是告诉,
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath;
这个
UITableViewDataSource方法的返回值是NULL!!!
如果你也遇到这个问题,希望可以帮到你。