Re: Double tap inside a UICollectionViewCell

2013-05-02 Thread koko
On May 2, 2013, at 10:35 AM, Matt Neuburg wrote: > Well obviously if you want to detect double taps on a collection view *cell*, > it might be simplest to attach the gesture recognizer to the collection view > *cell* (not the collection view itself). m. From the UICollectionView Programming G

Re: Double tap inside a UICollectionViewCell

2013-05-02 Thread Matt Neuburg
not called if a >double tap occurs in a UICollectionViewCell. @selector(handleTapGesture:) is >called if the double tap occurs outside a UICollectionViewCell. > >The question is how to get a double tap inside a UICollectionViewCell. > >[self.collectionView addGestureRecognizer:

Double tap inside a UICollectionViewCell

2013-05-01 Thread koko
(handleTapGesture:) is called if the double tap occurs outside a UICollectionViewCell. The question is how to get a double tap inside a UICollectionViewCell. -koko UITapGestureRecognizer *tapGesture = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(handleTapGesture