PaperFold-for-iOS
PaperFold-for-iOS copied to clipboard
Disable menu in pushed View Controller
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.