Assertion failure in -[UITableView _configureCellForDisplay:forIndexPath:]

Assertion failure in -[UITableView _configureCellForDisplay:forIndexPath:]

- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath     *)indexPath

这个函数的返回值是个null!!

查stackoverflow 找到下面的解。 

CellIdentifier I bet your cellForRowAtIndexPathisreturningnull.

 

cell 为空会报这个错误

posted @ 2013-08-01 17:09  wei8  阅读(518)  评论(0)    收藏  举报