PaperFold-for-iOS icon indicating copy to clipboard operation
PaperFold-for-iOS copied to clipboard

Disable menu in pushed View Controller

Open vlondon opened this issue 12 years ago • 0 comments

Hello.

In rootViewController I'm doing [self.navigationController pushViewController:embeddedViewController animated:YES];

And in embeddedViewController I need to disable FoldMenu, because I'm using Gesture Recognizers there. I tried this code in embeddedViewController, but it doesn't work: -(BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldRecognizeSimultaneouslyWithGestureRecognizer:(UIGestureRecognizer *)otherGestureRecognizer { if ( [gestureRecognizer isMemberOfClass:[UISwipeGestureRecognizer class]] ) { // Return NO for views that don't support Swipes return NO; } return YES; }

Thank you.

vlondon avatar Dec 28 '12 13:12 vlondon