ios iOS有自带的UITableViewCell高度自动拉伸.zip

weixin_39882200 11 0 ZIP 2021-04-18 13:04:27

主要代码: 1. _tableView.rowHeight = UITableViewAutomaticDimension; _tableView.estimatedRowHeight = 44.0; 2. [cell setNeedsUpdateConstraints]; [cell updateConstraintsIfNeeded]; @具体参考附件,想了解更多访问 http://www.imooc.com/wenda/detail/245446

用户评论
请输入评论内容
评分:
暂无评论