From a7f0b6fe0d1eaa32aacca7c777fad34938c05ae3 Mon Sep 17 00:00:00 2001 From: nanashi Date: Sat, 16 Nov 2013 15:23:48 +0900 Subject: [PATCH] fixed touch event to navigationBar not fired after notification view hides. --- MPNotificationView/MPNotificationView.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MPNotificationView/MPNotificationView.m b/MPNotificationView/MPNotificationView.m index 429ebea..f217f04 100644 --- a/MPNotificationView/MPNotificationView.m +++ b/MPNotificationView/MPNotificationView.m @@ -592,6 +592,7 @@ + (void) performIOS7Slide { viewToSlideIn.frame = CGRectOffset(notificationRect(), 0, -notificationHeight()); [__notificationWindow addSubview:viewToSlideIn]; + __notificationWindow.hidden = NO; UIView * viewToSlideOut = nil; @@ -638,6 +639,7 @@ + (void) performIOS7Slide { completion:^(BOOL finished) { [oldNotification removeFromSuperview]; __notificationWindow.currentNotification = nil; + __notificationWindow.hidden = YES; }]; } }