I have a UICollectionView whose size depends on the size of the screen. The displayed UICollectionViewCells is the same size as the collectionView. Each cell has a UIImage, which is the size of the cell. Paging is included in CollectionView, so itβs essentially a full-screen photo slide show that the user can carry.
The problem is that -(void)collectionView:(UICollectionView *)collectionView didSelectItemAtIndexPath:(NSIndexPath *)indexPath is called only if the user taps the cell with two fingers or long presses with one finger and then releases. It seems that by default there is no one-click selection. I did not make any changes to the CollectionView gesture recognizer, so I had problems finding a solution to this problem.
ios objective-c ipad uicollectionview uicollectionviewcell
Kris Gellci May 08 '13 at 15:34 2013-05-08 15:34
source share