I have an UIScrollView
inside another UIScrollView
. The outer scroll view handles paging, the inner scroll view handles zooming (it’s an image gallery with zooming support). I need the inner scroll view to ignore single touches so that they go to the outer scroll view instead.
This can be done using [innerScrollView setUserInteractionEnabled:NO]
, but that obviously also turns off the pinch and panning gestures on the inner scroll view. Is there a way to keep the pinch and pan gestures handled by the inner zoom view and forward all other events up the responder chain?
PS. I can always come with some delegation hack to solve the issue. I’d like to know if there’s a simple way to get it working using the regular responder chain.