UICollectionViewCell will be displayed/ was displayed?
-
12-12-2019 - |
Question
pretty simple question.
Is there a notification or delegate-type method to tell when a UICollectionViewCell object is displayed?
La solution
For iOS 8 and higher you can use willDisplayCell of UICollectionViewDelegate
- (void)collectionView:(UICollectionView *)collectionView willDisplayCell:(UICollectionViewCell *)cell forItemAtIndexPath:(NSIndexPath *)indexPath
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow