Insert UITableView row without ANY animation

前端 未结 5 2093
感情败类
感情败类 2021-02-07 02:05
[self.tableView insertRowsAtIndexPaths:@[[NSIndexPath indexPathForRow:row inSection:0]] 
                      withRowAnimation:UITableViewRowAnimationNone];
         


        
5条回答
  •  日久生厌
    2021-02-07 03:09

    Unfortunately, I ran into this same issue and there was no way for me to remove the animation.

    Must be a bug with the UITableViewRowAnimationNone animation type since iOS (of any version) does not seem to respect it.

提交回复
热议问题