ASP源码.NET源码PHP源码JSP源码JAVA源码DELPHI源码PB源码VC源码VB源码Android源码
当前位置:首页 >> 低调看直播体育app软件下载 >> IOS开发 >> ios/swift UITableview 刷新某一个cell 或 section

ios/swift UITableview 刷新某一个cell 或 section

来源:网络整理     时间:2016-03-30     关键词:

本篇文章主要介绍了"ios/swift UITableview 刷新某一个cell 或 section",主要涉及到方面的内容,对于IOS开发感兴趣的同学可以参考一下: //一个section刷新 NSIndexSet *indexSet=[[NSIndexSet alloc]initWithIndex:2]; [t...

//一个section刷新    

NSIndexSet *indexSet=[[NSIndexSet alloc]initWithIndex:2];    

[tableview reloadSections:indexSet withRowAnimation:UITableViewRowAnimationAutomatic];    

//一个cell刷新    

NSIndexPath *indexPath=[NSIndexPath indexPathForRow:3 inSection:0];    

[tableView reloadRowsAtIndexPaths:[NSArray arrayWithObjects:indexPath,nil] withRowAnimation:UITableViewRowAnimationNone];  

以上就介绍了ios/swift UITableview 刷新某一个cell 或 section,包括了方面的内容,希望对IOS开发有兴趣的朋友有所帮助。

本文网址链接:http://www.codes51.com/article/detail_536812.html

相关图片

相关文章