iOS 去除刷新分组动画

 

设置UITableViewRowAnimationNone还是有动画闪动效果

解决:

[UIView performWithoutAnimation:^{
  NSIndexSet *indexSet = [NSIndexSet indexSetWithIndex:index];
  [self reloadSections:indexSet withRowAnimation:UITableViewRowAnimationNone];
}];

posted @ 2022-05-26 14:12  Belinda_sl  阅读(109)  评论(0)    收藏  举报