I setup a UITapGestureRecognizer on a UIScrollView in the storyboard. The Scroll View contains other contents (two UIView, one UIWebView).
The Gesture Recognizer properties are as follows:
- Action: dismissPopover
- delegate: postViewController
- gestureRecognizers: Scroll View
- state: enabled
- numberOfTapsRequired: 1
- numberOfTouchesRequired: 1
- cancelTouchesInView: YES
- delayTouchesBegan: NO
- delayTouchesEnded: YES
The Scroll View (relevant) properties are as follows:
- userInteractionEnabled: YES
- canCancelContentTouches: YES
However, when I tap anywhere on the Scroll View, the gesture does not work.