//只刷新指定分区
NSIndexSet *indexSet=[[NSIndexSet alloc] initWithIndex:1]; //你需要更新的组数
[UIView performWithoutAnimation:^{
[self.tableView reloadSections:indexSet withRowAnimation:UITableViewRowAnimationNone];
}];
去掉隐式动画即可
//只刷新指定分区
NSIndexSet *indexSet=[[NSIndexSet alloc] initWithIndex:1]; //你需要更新的组数
[UIView performWithoutAnimation:^{
[self.tableView reloadSections:indexSet withRowAnimation:UITableViewRowAnimationNone];
}];
去掉隐式动画即可
本文标题:UITableView刷新指定section的时候回跳动问题
本文链接:https://www.haomeiwen.com/subject/jdvpsftx.html
网友评论