博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Assertion failure in -[UITableView _configureCellForDisplay:forIndexPath:]
阅读量:4575 次
发布时间:2019-06-08

本文共 343 字,大约阅读时间需要 1 分钟。

Assertion failure in -[UITableView _configureCellForDisplay:forIndexPath:]

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

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

查stackoverflow 找到下面的解。 

CellIdentifier I bet your cellForRowAtIndexPathisreturningnull.

 

cell 为空会报这个错误

转载于:https://www.cnblogs.com/wei8/p/3230483.html

你可能感兴趣的文章
IIS7.5 处理程序“PageHandlerFactory-Integrated”在其模块列表中有一个错误模块“ManagedPipelineHandler” 错误的解决方法...
查看>>
面向对象的OOA、OOD、OOP
查看>>
团队作业六
查看>>
使用clone( )和Cloneable接口
查看>>
16进制格式化
查看>>
python中html解析-Beautiful Soup
查看>>
python协程的使用
查看>>
Android GIS开发系列-- 入门季(4) GraphicsLayer的点击查询要素
查看>>
Python 基础 - 4.5 sys 模块
查看>>
解决scalac Error: bad option -make:transitive
查看>>
yarn 查看任务信息
查看>>
C#在SharePoint文档库下动态新增文件夹
查看>>
uva 10118
查看>>
Oracle基础学习三之数据操作及伪列
查看>>
【规范】javascript 变量命名规则
查看>>
Algorithms
查看>>
老李推荐:第14章6节《MonkeyRunner源码剖析》 HierarchyViewer实现原理-装备ViewServer-启动ViewServer...
查看>>
《面对对象分析与设计》书摘
查看>>
VC2010MFC下的ArcEngine开发(一)
查看>>
Android Studio 1.0.2 设置内存大小
查看>>