Possibly a duplicate, but I couldn't find an exact answer to my problem searching SO tonight...
I have a UIButton
which contains a UIScrollView
, so the button is the superview.
All I want to do is pass a single-tap event from the UIScrollView
subview to the UIButton
superview, and have the UIButton
handle it as it would if the user tapped the button directly.
Setting the scroll view's userInteractionEnabled
property to NO
won't work for me because there is content the user can scroll. Doing so would defeat the purpose of the scroll view.
Is this possible? Thanks!