美文网首页
-[UITableView _configureCellForD

-[UITableView _configureCellForD

作者: 俊俊吖 | 来源:发表于2017-05-17 17:12 被阅读0次

    当使用TableView的时候下滑就会崩溃,而且僵尸断点找不到
    就会报这个错误
    -[UITableView _configureCellForDisplay:forIndexPath:], /BuildRoot/Library/Ca
    意思是说

    • (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
      返回了一个大于0的值
      而这个值对应的cell返回的却是nil
    • (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
      }
      检查一下你这个回调 得返回有问题 这个必须得返回cell

    相关文章

      网友评论

          本文标题:-[UITableView _configureCellForD

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