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