How to update a specific cell of UICollectionView?

Total Post:341

Points:2389
 701  View(s)
Ratings:
Rate this:
I have created an app on iPhone using UICollectionView. My problem is I want to update a specific cell inside a UICollectionView. I am using [self.collectionView reloadData] method. But this is not the solution because it will reload whole collection view.
Can anyone tell me how can I update specific cell inside the collection view without reloading whole collection view?
  1. Post:214

    Points:1642
    Re: How to update a specific cell of UICollectionView?

    To update the specific cell of collection view, you can use the method: reloadItemsAtIndexPaths:, it will reload the specific indexPaths in our collection view.

    -(void)reloadItemsAtIndexPaths:(NSArray*)indexPaths

    I hope the above method is helpful for you.

Answer