1、錯誤:tableView。
Assertion failure in -[UITableView -configureCellForDisplay:forIndexPath:]
2、原因:tableView的如下數(shù)據(jù)源方法返回了一個空值。
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
return nil;
}
3、解決:返回一個cell