failed to obtain a cell from its dataSource 解决方案
来源:互联网 发布:mac itunes铃声 编辑:程序博客网 时间:2024/04/30 06:17
使用iOS的tableView时,如果创建的是reuse cell,即在使用了类似如下的方法:
BPTimeLineCell *cell = [tableView dequeueReusableCellWithIdentifier:kTimeLineTableViewCellId];
则需要在viewDidLoad中注册一个reUseCell:
[self.tableView registerClass:[BPTimeLineCell class] forCellReuseIdentifier:kTimeLineTableViewCellId];
就能解决这样的错误啦:
failed to obtain a cell from its dataSource (<_UIFilteredDataSource: 0x7b8b6570>)'
0 0
- failed to obtain a cell from its dataSource 解决方案
- failed to obtain a cell from its dataSource
- failed to obtain a cell from its dataSource
- reason: 'UITableView failed to obtain a cell from its dataSource'
- failed to obtain a cell from its dataSource
- TableView异常failed to obtain a cell from its dataSource
- UITableView错误failed to obtain a cell from its dataSource的原因和解决办法
- tableView滑动崩溃 failed to obtain a cell from its dataSource
- failed to obtain a cell from its dataSource (<CooperateViewController: 0x7fe6fac7aa20>)'
- ConnectionManager.getConnection() failed to obtain a connection after 11 retries. The exception from
- UITableView dataSource must return a cell from tableView:cellForRowAtIndexPath
- UITableView dataSource must return a cell from tableView:cellForRowAtIndexPath
- UITableView dataSource must return a cell from tableView:cellForRowAtIndexPath:
- 'UITableView dataSource must return a cell from tableView:cellForRowAtIndexPath:
- UITableView dataSource must return a cell from tableView:cellForRowAtIndexPath
- UITableView dataSource must return a cell from tableView:cellForRowAtIndexPath
- Unable to obtain network interface list from Oracle ClusterwarePRCT-1011 : Failed to run "oifcfg". D
- Unable to obtain network interface list from Oracle ClusterwarePRCT-1011 : Failed to run "oifcfg".
- SQL SERVER 36进制转换10进制
- jQuery获取radio选中后的文字
- vs2010反汇编
- Android-architecture之MVC、MVP、MVVM、Data-Binding
- Android 获取手机本地图片所在的位置
- failed to obtain a cell from its dataSource 解决方案
- “58信息定时发布器” 编写纪要
- [从头学声学] 第213节 声调的频谱
- 游戏服务器中的ID生成策略
- iOS自定义NavigationBar
- 试试
- ABAP源代码保护
- 将链表中的数据保存到二进制文件和读出数据
- conrestoneSVN的登录,使用自行解决,嘻嘻