UITableViewCell-02

 // 单行插入刷新,效率高

        NSIndexPath *path = [NSIndexPath indexPathForRow:(self.tgs.count - 1) inSection:0];

        [self.tableView insertRowsAtIndexPaths:@[path] withRowAnimation:UITableViewRowAnimationMiddle];

    

// 全部数据重新刷新,效率低

    [self.tableView reloadData];

原文地址:https://www.cnblogs.com/fkunlam/p/4337486.html