RM?
2016-04-14 09:35ios开发在表视图显示cell里的内容时出现failed to obtain a cell from its datasource
这是代码
-(NSInteger)tableView:(UITableView )tableView numberOfRowsInSection:(NSInteger)section{
return 1; }
-(UITableViewCell)tableView:(UITableView )tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{
UITableViewCell cell =[tableView dequeueReusableCellWithIdentifier:@"ChecklizdvdzfbdzbstItem"]; return cell;
}
- 点赞
- 回答
- 收藏
- 复制链接分享