iOS中tableview刷新某一行

2017-09-06  本文已影响993人  羊妞麻麻
tableview刷新某一行
[tabelView reloadRowsAtIndexPaths:[NSArray arrayWithObjects:[NSIndexPath indexPathForRow:IndexPath.row inSection:IndexPath.section], nil] withRowAnimation:UITableViewRowAnimationNone];

collection刷新某一行
[collectionView reloadItemsAtIndexPaths:@[IndexPath]];
上一篇 下一篇

猜你喜欢

热点阅读