UICollectionView delegate's tap method not getting called

后端 未结 8 1654
梦毁少年i
梦毁少年i 2021-01-03 20:50

I have a collection view, the datasource delegate works well, but UICollectionViewDelegate:

-(void)collectionView:(UICollectionView *)collection         


        
8条回答
  •  忘掉有多难
    2021-01-03 21:25

    Looks like you've added TapGestureRecognizer somewhere and it prevents selecton of cell. Check them, that should be the problem.

提交回复
热议问题