//局部section刷新
NSIndexSet *nd=[[NSIndexSet alloc]initWithIndex:1];//刷新第二个section
[tviewreloadSections:ndwithRowAnimation:UITableViewRowAnimationAutomatic];
//局部cell刷新
NSIndexPath*te=[NSIndexPath indexPathForRow:2inSection:0];//刷新第一个section的第二行
[tableViewreloadRowsAtIndexPaths:[NSArray arrayWithObjects:te,nil]withRowAnimation:UITableViewRowAnimationMiddle];
ios UITableView 局部刷新功能
最新推荐文章于 2017-02-06 11:29:13 发布