UITableViewRowAnimation is ignored

后端 未结 5 1399
感动是毒
感动是毒 2020-12-16 07:27

I\'m using NSFetchedResultsController to populate my table. The data in my table is sorted according to the timestamp in the ascending order (latest message at

5条回答
  •  太阳男子
    2020-12-16 07:55

    Please try as below.

    [CATransaction setDisableActions:YES];
    [self.table insertRowsAtIndexPaths:@[newIndexPath] withRowAnimation:UITableViewRowAnimationNone];
    [CATransaction setDisableActions:NO]; // reset to original value
    

提交回复
热议问题