首页 > 其他 > 详细

UITableViewCell-02

时间:2015-03-14 15:11:31      阅读:237      评论:0      收藏:0      [点我收藏+]

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

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

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

    

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

    [self.tableView reloadData];

UITableViewCell-02

原文:http://www.cnblogs.com/fkunlam/p/4337486.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!