美文网首页
failed to obtain a cell from its

failed to obtain a cell from its

作者: zooleebee | 来源:发表于2017-03-01 15:29 被阅读210次

原因:

UITableView没有找到重用的Cell,CellForIndex返回了nil。

Debug方法:

- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath的方法最后返回的地方打个断点。

参考:

http://stackoverflow.com/questions/34250595/failed-to-obtain-a-cell-from-its-datasource

相关文章

网友评论

      本文标题:failed to obtain a cell from its

      本文链接:https://www.haomeiwen.com/subject/vazqgttx.html