先设置这三个属性~bash
_tableView.estimatedSectionHeaderHeight = 0;
_tableView.estimatedSectionFooterHeight = 0;
_tableView.estimatedRowHeight = 0;
复制代码
刷新代码写成这样~spa
[UIView performWithoutAnimation:^{
[self.tableView reloadRowAtIndexPath:indexPath withRowAnimation:UITableViewRowAnimationNone];
}];
复制代码