美文网首页
tableView刷新单个cell时跳动的问题解决

tableView刷新单个cell时跳动的问题解决

作者: iOS_大菜鸟 | 来源:发表于2019-01-18 17:05 被阅读0次

tableView在reloadRowsAtIndexPaths时默认附加一个fade隐式动画

   //解决刷新跳动问题

```

            [UIView performWithoutAnimation:^{

               [self.tableView reloadRowsAtIndexPaths:[NSArray arrayWithObjects:indexPath,nil] withRowAnimation:UITableViewRowAnimationNone];

            }];

···

相关文章

网友评论

      本文标题:tableView刷新单个cell时跳动的问题解决

      本文链接:https://www.haomeiwen.com/subject/dqondqtx.html