UITableView报错 *** Assertion fail

2018-08-02  本文已影响0人  差不多先生__

Xcode崩溃报错:

Assertion failure in -[GODContactsTableView _configureCellForDisplay:forIndexPath:], /BuildRoot/Library/Caches/com.apple.xbs/Sources/UIKit_Sim/UIKit-3698.54.4/UITableView.m:9453

原因是在- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath方法里面没有成功return cell,或者return nil;

上一篇 下一篇

猜你喜欢

热点阅读