use*_*228 5 ios uicollectionview uicollectionviewcell
我想重新加载一个单元格UICollectionView.
我知道UITableView它是这样的:
[self.tableView reloadRowsAtIndexPaths:[NSArray arrayWithObjects:indexPathOfYourCell, nil] withRowAnimation:UITableViewRowAnimationNone];
Run Code Online (Sandbox Code Playgroud)
但是怎么样UICollectionView?
[self.collectionView reloadItemsAtIndexPaths:@[indexPathOfYourCell]];
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
6868 次 |
| 最近记录: |