0
Это то, что у меня естьЖест распознаватель никогда не стреляет
UICollectionViewController - UICollectionViewCell - UIScrollView - ImageView
Я пытаюсь справиться кран ImageView, но никогда не дозвонились.
UITapGestureRecognizer *tap =[[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(handleTap:)];
[cell.imageView addGestureRecognizer:tap];
- (void)handleTap:(UITapGestureRecognizer *)recognizer {
NSLog(@"Tap");
NSIndexPath *indexPath = [self.collectionView indexPathForItemAtPoint:[recognizer locationInView:self.collectionView]];
}