There could be two reasons:

> [self.view sendSubviewToBack:_menuView.view];

Is placing other UIViews in the view hierarchy on top of the menu view and
they could be eating touches.

> _menuView.view.frame=CGRectMake(-160,0,160,440);
> self.view.frame=CGRectMake(160, 20, 320, 548);

UIViews that are outside the bounds of their parent views do not receive
touch events. You need to over-ride -hitTest:withEvent: to over-ride this
default behavior.

Easiest is to keep your menu view within the bounds of the parent view and
make sure no other views are in front of it.

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to