From c735b24120d71283d97c103e9f73707cb76411e4 Mon Sep 17 00:00:00 2001 From: Darius Sabaliauskas Date: Thu, 12 Mar 2015 10:34:29 +0200 Subject: [PATCH] iOS 7 left menu showing fix --- RESideMenu/RESideMenu.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RESideMenu/RESideMenu.m b/RESideMenu/RESideMenu.m index b4675a01..4081f986 100644 --- a/RESideMenu/RESideMenu.m +++ b/RESideMenu/RESideMenu.m @@ -324,7 +324,7 @@ - (void)showLeftMenuViewController self.contentViewContainer.transform = CGAffineTransformIdentity; } - if (NSFoundationVersionNumber > NSFoundationVersionNumber_iOS_7_1) { + if (NSFoundationVersionNumber > NSFoundationVersionNumber_iOS_7_0) { self.contentViewContainer.center = CGPointMake((UIInterfaceOrientationIsLandscape([[UIApplication sharedApplication] statusBarOrientation]) ? self.contentViewInLandscapeOffsetCenterX + CGRectGetWidth(self.view.frame) : self.contentViewInPortraitOffsetCenterX + CGRectGetWidth(self.view.frame)), self.contentViewContainer.center.y); } else { self.contentViewContainer.center = CGPointMake((UIInterfaceOrientationIsLandscape([[UIApplication sharedApplication] statusBarOrientation]) ? self.contentViewInLandscapeOffsetCenterX + CGRectGetHeight(self.view.frame) : self.contentViewInPortraitOffsetCenterX + CGRectGetWidth(self.view.frame)), self.contentViewContainer.center.y);