If you have already set up your sizing, find the index of the cell you'd like to refresh:
NSIndexPath * indexPathOfCellToResize = // index path of cell to refresh
[myCollectionView reloadItemsAtIndexPaths:@[indexPathOfCellToResize]];
There's probably a better way to do this, but here's something that works:
Create A Delegate Protocol In Your Cell
@protocol CellDelegate
- (void) imageIsReadyForCell:(id)cell;
@end
Delegate Property
@property (strong, nonatomic) id<CellDelegate>delegate;
In Cell, when image finished call:
[self.delegate imageIsReadyForCell:self];
Then in your file hosting the collectionView in interface
@interface SomeViewController : UIViewController <CellDelegate>
And in the .m
- (void) imageIsReadyForCell:(id)cell {
NSIndexPath * indexOfReadyCell = [yourCollectionView indexPathForCell:cell];
[myCollectionView reloadItemsAtIndexPaths:@[indexPathOfReadyCell]];
}