Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

UIView over another uiview and pass touches through

I have a view sitting over another view. The top view has a UITapGestureRecognizer so I can close the menus (click outside of the menus). But the layer below this needs to receive all the touches.

I can get single finger gestures to pass through, but I can't get the pinch gesture to pass through.

like image 705
smcdrc Avatar asked Aug 12 '11 18:08

smcdrc


1 Answers

You need to make sure that multiple touches are enabled in both views. That way, a pinch can be recognized! Hope that helps!

like image 104
msgambel Avatar answered Nov 18 '22 09:11

msgambel