문제

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