I have a problem when tap an item into CollectionView.
didSelectItemAtIndexPath doesn't called when tapped the item. Only execute this method when hold the item.
This is the method implementation.
- (void)collectionView:(UICollectionView *)collectionView didSelectItemAtIndexPath:(NSIndexPath *)indexPath {
NSLog(@"did select at index path %@", indexPath);
_magazine = [[AppController instance] magazines][indexPath.row];
[self loadEditionsForMagazine:_magazine];
_magazineEditionsView.hidden = NO;
}
My CollectionView is linked to the datasource and delegate.
Thanks.
Check these:
UICollectionView
. UICollectionView
receiving gesture before UICollectionView
. Hope this helps.. :)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.