Reputation: 565
How can I get informed when UICollectionViewCell is about to be scroll out from superview (will be queued)? I need to resignFirstResponder from that cell before the cell is queued.
Upvotes: 0
Views: 1114
Reputation: 25917
On the delegation method of UICollectionViewDelegate
:
- (void)collectionView:(UICollectionView *)collectionView didEndDisplayingCell:(UICollectionViewCell *)cell forItemAtIndexPath:(NSIndexPath *)indexPath
Upvotes: 2