iOS Assertion failure in -[UITableView _classicHeightForRowAtIndexPath:]

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

 

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


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

posted @ 2015-12-30 09:01  Running2Snail  阅读(1075)  评论(0编辑  收藏  举报