Passthrough touches (double tap gesture)


Hi everyone,

i’m trying to create a chart, where a double tap resizes (zooms) the whole chart and makes it fullscreen. For this i’ve added a UITapGestureRecognizer to the superview of the ShinobiChart.

However, I can’t figure out how to passthrough the touches to the superview to trigger the UITapGestureRecognizer.

So far, i’ve tried to subclass ShinobiChart and override the touchesBegan / touchesEnded / touchesCancelled / touchesMoved _ _methods. However this doesn’t seem to do the trick.

Additionally i tried to add a custom UITapGestureRecognizer to the ShinobiChart itself. This however doesn’t work either.



Hi Stefan,

I created a double tap recogniser (setting numberOfTapsRequired to 2) and using

chart.gestureDoubleTapEnabled = NO;

seems to do the trick - double taps pass through to my double tap event.

Let me know if you have any trouble with this!

Best regards,



Hi Rob,

this actually works, BUT when you also have  gestureDoubleTapResetsZoom set to NO it stops working and the double tap zooms in normally.

Best regards,



Is there any resolution to this?