iOS有自带的UITableViewCell高度自动拉伸
查看次数:6985
下载次数:948
上传时间:2015-12-11
大小:84 B
主要代码:
1. _tableView.rowHeight = UITableViewAutomaticDimension;
_tableView.estimatedRowHeight = 44.0;
2. [cell setNeedsUpdateConstraints];
[cell updateConstraintsIfNeeded];
@具体参考附件,想了解更多访问 http://www.imooc.com/wenda/detail/245446
收藏