I\'m trying to handle touch events with touchesBegan
in an overlay to a parent UIView
but also allow the touch input to pass through to sibling U
Late answer, but I think you would be better off overriding hitTest:withEvent:
instead of touchesBegan
. It seems to me that touchesBegan
is a pretty "high-level" method that is there to just do a simple thing, so you cannot alter at that level if the event if propagated further. The right place to do that is hitTest:withEvent:
.
Also have a look at this S.O. answer for more details about this point.