您的位置:首页 > 产品设计 > UI/UE

Assertion failure in -[UITableView _configureCellForDisplay:forIndexPath:]

2013-08-01 17:09 465 查看
Assertion failure in -[UITableView _configureCellForDisplay:forIndexPath:]

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

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

查stackoverflow 找到下面的解。

CellIdentifier I bet your cellForRowAtIndexPathisreturningnull.

cell 为空会报这个错误
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐