Xcode 11版本
1.tableView在UITableViewStyleGrouped类型下,contentView高度多出20像素
解决方案:
tableView.estimatedRowHeight = 0.001f;
tableView.estimatedSectionFooterHeight = 0.001f;
tableView.estimatedSectionHeaderHeight = 0.001f;
注:不能是0,否则无效
Xcode 11版本
解决方案:
tableView.estimatedRowHeight = 0.001f;
tableView.estimatedSectionFooterHeight = 0.001f;
tableView.estimatedSectionHeaderHeight = 0.001f;
注:不能是0,否则无效
本文标题:Xcode11 iOS13 踩坑记
本文链接:https://www.haomeiwen.com/subject/toewuctx.html
网友评论