You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: