質問

pretty simple question.

Is there a notification or delegate-type method to tell when a UICollectionViewCell object is displayed?

役に立ちましたか?

解決

For iOS 8 and higher you can use willDisplayCell of UICollectionViewDelegate

- (void)collectionView:(UICollectionView *)collectionView willDisplayCell:(UICollectionViewCell *)cell forItemAtIndexPath:(NSIndexPath *)indexPath

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top