Xcode11 iOS13 踩坑记
2019-09-25 本文已影响0人
本雍正专治bug
Xcode 11版本
1.tableView在UITableViewStyleGrouped类型下,contentView高度多出20像素
解决方案:
tableView.estimatedRowHeight = 0.001f;
tableView.estimatedSectionFooterHeight = 0.001f;
tableView.estimatedSectionHeaderHeight = 0.001f;
注:不能是0,否则无效