I have a horizontal paginated UIScrollView
with a UIButton
partially covering the scroll view.
Like this:
UIView
|
|- UIScrollView
|
|- UIButton
I want to make the UIButton
to not trigger on tap-scroll-and-relase-above-the-button (I want the UIScrollView
to scroll instead). I want the button to only respond to tap-and-release-without-moving.
Can this easy and quickly done? Or should I subclass the UIButton
and override -touchesBegan:
, etc., to manually pass the touches to the scrollView
when appropriate?