ios - UICollectionView didselect and double tap conflict -
there 2 actions tried do.
- single tap select cell push new view controller.
- double tap animate cell.
i registered double tap gesture , set doubletapgesture.delaystouchesbegan ture. single tap action segue cell viewcontroller.
however, there 0.5s delay if user single tap cell move view. problem system wait double tap gesture. if remove delaystouchesbegan, recognize did select cell function.
how can reduce delay?
please add line
tapgesture.delaystouchesbegan = yes;
Comments
Post a Comment