I have a UIImageView
with a tap gesture recognizer as a subview of a UIScrollView
.
A.) If the UIImageView
isUserInteractionEnabled=false
the scroll view works fine (pinch zoom, scroll) but doesn't recognize the tap gesture on the image.
B.) If isUserInteractionEnabled=true
I cannot start pinch zoom or scroll from the image but the tap gesture works.
How can I manage it to work (keep scrolling and zooming but recognize tap on content)?