So I have an UIImageView inside of a UIScrollView, I need to capture both: - single tap gesture - double tap gesture for the UIImageView
The double tap gesture is supposed to be sent to the UIScrollView as an action of zooming The single tap gesture is captured by a UITapGestureRecognizer that I created myself. The double tap gesture has higher priority than the single tap (when there is a double tap, zoom in the scrollview, else perform the single tap)
So far if I add the single tap gesture recognizer to the scrollview, the single tap is immediately recognized and no double tap can be recognized.
If I add the single tap gesture recognizer to the imageview, it never receives any action, but double tap works
Any suggestion is appreciated, thanks..