I have a UIView
with two UIButton
s on each side (left and right) and a UIImageView
in the center. A tap on either button will change the UIImageView
and that works. I want the ability swipe across the UIView
as well and it change UIImageView
. Right now, you have to swipe on the UIImageView
itself since the UIButton
s are catching the input.
I'd like to be able to perform a swipe anywhere on the containing UIView
and it performs the transition. Is there a way to forward touch events such that a swipe can trigger an action, but any other touch is forwarded to the proper subviews?