iOS Assertion failure in -[UITableView _classicHeightForRowAtIndexPath:]

来源:互联网 发布:电脑手写笔软件 编辑:程序博客网 时间:2024/05/29 07:00
 

iOS Assertion failure in -[UITableView _classicHeightForRowAtIndexPath:] 

 956人阅读 评论(0) 收藏 举报
 分类:
 

Assertion failure in -[UITableView _classicHeightForRowAtIndexPath:], /SourceCache/UIKit_Sim/UIKit-3318/UITableView.m:10772


这问题是由于cell高度负数导致,去看看:


- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath


0 0