UITableView刷新单个cell或者单个Section
生活随笔
收集整理的這篇文章主要介紹了
UITableView刷新单个cell或者单个Section
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
//一個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];?
轉載于:https://www.cnblogs.com/yunis/p/4076948.html
總結
以上是生活随笔為你收集整理的UITableView刷新单个cell或者单个Section的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Hibernate的命名查询(Named
- 下一篇: PHP 5.6 Apache配置