Home > DeveloperSection > Forums > How to update a specific cell of UICollectionView?
Ankit Singh

Total Post:341

Points:2389
Posted on    January-12-2016 10:42 PM

 iPhone iPhone  Ios  Objective C 
Ratings:


 1 Reply(s)
 268  View(s)
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?


Tarun Kumar

Total Post:213

Points:1635
Posted on    January-15-2016 6:28 AM

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.


Don't want to miss updates? Please click the below button!

Follow MindStick