UITableView

UITableView列表reloadSections等刷新数据

2018-07-14  本文已影响29人  番薯大佬

使用如下代码解决屏幕跳动

[UIView performWithoutAnimation:^{
        NSIndexSet *reloadSet = [NSIndexSet indexSetWithIndex:1];
        [self.workTable reloadSections:reloadSet withRowAnimation:UITableViewRowAnimationNone];
}];
上一篇 下一篇

猜你喜欢

热点阅读