iOS11 tableview reloadData 出现闪动的bug

解决方案:我们只需要在初始化tableView 的时候设置tableView 的预估值设置为0就可以避免出现刷新tableView 时出现跳动
_tableView.estimatedRowHeight = 0;
_tableView.estimatedSectionHeaderHeight = 0;
_tableView.estimatedSectionFooterHeight = 0;

你可能感兴趣的:(iOS11 tableview reloadData 出现闪动的bug)