From eb2de83daf41cdba9b5e683067d66a4785d84466 Mon Sep 17 00:00:00 2001 From: Aryan Date: Sun, 25 Jan 2015 08:50:52 -0800 Subject: [PATCH] #79 and #90 Allow simultaneous gestures to be detected by the menu --- SlideMenu/Source/SlideNavigationController.m | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/SlideMenu/Source/SlideNavigationController.m b/SlideMenu/Source/SlideNavigationController.m index a504858..976c098 100644 --- a/SlideMenu/Source/SlideNavigationController.m +++ b/SlideMenu/Source/SlideNavigationController.m @@ -658,6 +658,13 @@ static SlideNavigationController *singletonInstance; [[NSNotificationCenter defaultCenter] postNotificationName:name object:nil userInfo:userInfo]; } +#pragma mark - UIGestureRecognizerDelegate Methods - + +- (BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldRecognizeSimultaneouslyWithGestureRecognizer:(UIGestureRecognizer *)otherGestureRecognizer +{ + return YES; +} + #pragma mark - UINavigationControllerDelegate Methods - - (void)navigationController:(UINavigationController *)navigationController