- Fixing glitch, by removing tapGestureRecognizer during rotation

This commit is contained in:
Aryan Ghassemi 2014-02-02 12:13:10 -08:00
parent 25e35c5742
commit a718c6a097
1 changed files with 1 additions and 0 deletions

View File

@ -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;