Skip to content

Commit

Permalink
iOS 7 left menu showing fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Jamagas committed Jun 30, 2015
1 parent 2eccdd1 commit c735b24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RESideMenu/RESideMenu.m
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit c735b24

Please sign in to comment.