From e873e781f72b83f6a3eb301ab830133453d00fa6 Mon Sep 17 00:00:00 2001 From: asm09fsu Date: Thu, 5 Jul 2012 19:26:45 -0300 Subject: [PATCH] Removing this if statement solves an error where the user is using a UINavigationButton in a UINavBar from Interface Builder. If this is left in, user has to press the button *TWICE* to bring up the corresponding view. --- .../PPRevealSideviewController/PPRevealSideViewController.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PPRevealSideViewController/PPRevealSideviewController/PPRevealSideViewController.m b/PPRevealSideViewController/PPRevealSideviewController/PPRevealSideViewController.m index 6be1294..2116559 100644 --- a/PPRevealSideViewController/PPRevealSideviewController/PPRevealSideViewController.m +++ b/PPRevealSideViewController/PPRevealSideviewController/PPRevealSideViewController.m @@ -1065,7 +1065,7 @@ - (BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldReceive BOOL hasExceptionTouch = NO; if ([touch.view isKindOfClass:[UIControl class]] && [gestureRecognizer isKindOfClass:[UITapGestureRecognizer class]]) { - if (![touch.view isKindOfClass:NSClassFromString(@"UINavigationButton")]) hasExceptionTouch = YES; + /*if (![touch.view isKindOfClass:NSClassFromString(@"UINavigationButton")])*/ hasExceptionTouch = YES; } BOOL hasExceptionDelegate = NO;