加上这三行代码
_tableview.estimatedRowHeight = 0;
_tableview.estimatedSectionHeaderHeight = 0;
_tableview.estimatedSectionFooterHeight = 0;
reloadSections:在ios11中无法正常使用
最新推荐文章于 2025-07-28 13:08:35 发布
本文介绍了一种通过设置三行代码来优化Swift中UITableView的方法,包括如何调整预估行高、节头和节尾的高度,以提高应用性能。
521

被折叠的 条评论
为什么被折叠?



