首页 > 其他 > 详细

TableView  — reloadData     刷新

时间:2015-11-06 09:35:37      阅读:210      评论:0      收藏:0      [点我收藏+]

//指定刷新某一行
    NSIndexPath *indexPath=[NSIndexPath indexPathForRow:0 inSection:1];
    [_readTableView reloadRowsAtIndexPaths:[NSArray arrayWithObjects:indexPath, nil] withRowAnimation:UITableViewRowAnimationNone];
 
 
 
//指定刷新某一段
NSIndexSet *indexSet=[[NSIndexSet alloc]initWithIndex:2];
   
    [_readTableView reloadSections:indexSet withRowAnimation:UITableViewRowAnimationAutomatic];

TableView  — reloadData     刷新

原文:http://www.cnblogs.com/qwer-BHS/p/4941547.html

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