From a718c6a097034ac7d1f3db2b90d18945da081c07 Mon Sep 17 00:00:00 2001 From: Aryan Ghassemi Date: Sun, 2 Feb 2014 12:13:10 -0800 Subject: [PATCH] - Fixing glitch, by removing tapGestureRecognizer during rotation --- SlideMenu/Source/SlideNavigationController.m | 1 + 1 file changed, 1 insertion(+) diff --git a/SlideMenu/Source/SlideNavigationController.m b/SlideMenu/Source/SlideNavigationController.m index 6f21dad..d213b3f 100644 --- a/SlideMenu/Source/SlideNavigationController.m +++ b/SlideMenu/Source/SlideNavigationController.m @@ -110,6 +110,7 @@ static SlideNavigationController *singletonInstance; // When menu open we disable user interaction // When rotates we want to make sure that userInteraction is enabled again self.topViewController.view.userInteractionEnabled = YES; + [self.view removeGestureRecognizer:self.tapRecognizer]; // Update shadow size self.view.layer.shadowPath = [UIBezierPath bezierPathWithRect:self.view.bounds].CGPath;