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

2019-01-18  本文已影响0人  iOS_大菜鸟

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

   //解决刷新跳动问题

```

            [UIView performWithoutAnimation:^{

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

            }];

···

上一篇 下一篇

猜你喜欢

热点阅读