2018-07-10 解决TableView页面刷新跳动问题
2018-07-10 本文已影响0人
绿茵奔腾者
// 解决页面刷新跳动问题
[UIView setAnimationsEnabled:NO];
NSIndexPath *indexPath = [NSIndexPath indexPathForRow:model.indexPath.row inSection:model.indexPath.section];
[self reloadRowsAtIndexPaths:[NSArray arrayWithObjects:indexPath,nil] withRowAnimation:UITableViewRowAnimationNone];