在创建tableView时进行约束时
if (@available(iOS 11.0, *)) { _baseTableView.estimatedRowHeight = 0; _baseTableView.estimatedSectionHeaderHeight = 0; _baseTableView.estimatedSectionFooterHeight = 0; }
把估算的行高 头 脚 高 都设置为0.
可以解决这个bug 差点让它虐死
在创建tableView时进行约束时
if (@available(iOS 11.0, *)) { _baseTableView.estimatedRowHeight = 0; _baseTableView.estimatedSectionHeaderHeight = 0; _baseTableView.estimatedSectionFooterHeight = 0; }
把估算的行高 头 脚 高 都设置为0.
可以解决这个bug 差点让它虐死