File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -272,7 +272,7 @@ - (void)__showLeftMenuViewController
272272 self.contentViewContainer .transform = CGAffineTransformIdentity;
273273 }
274274
275- if ([[[UIDevice currentDevice ] systemVersion ] floatValue ] >= 8.0 ) {
275+ if (NSFoundationVersionNumber > NSFoundationVersionNumber_iOS_7_1 ) {
276276 self.contentViewContainer .center = CGPointMake ((UIInterfaceOrientationIsLandscape ([[UIApplication sharedApplication ] statusBarOrientation ]) ? self.contentViewInLandscapeOffsetCenterX + CGRectGetWidth (self.view .frame ) : self.contentViewInPortraitOffsetCenterX + CGRectGetWidth (self.view .frame )), self.contentViewContainer .center .y );
277277 } else {
278278 self.contentViewContainer .center = CGPointMake ((UIInterfaceOrientationIsLandscape ([[UIApplication sharedApplication ] statusBarOrientation ]) ? self.contentViewInLandscapeOffsetCenterX + CGRectGetHeight (self.view .frame ) : self.contentViewInPortraitOffsetCenterX + CGRectGetWidth (self.view .frame )), self.contentViewContainer .center .y );
@@ -769,7 +769,7 @@ - (void)willAnimateRotationToInterfaceOrientation:(UIInterfaceOrientation)toInte
769769
770770 CGPoint center;
771771 if (self.leftMenuVisible ) {
772- if ([[[UIDevice currentDevice ] systemVersion ] floatValue ] >= 8.0 ) {
772+ if (NSFoundationVersionNumber > NSFoundationVersionNumber_iOS_7_1 ) {
773773 center = CGPointMake ((UIDeviceOrientationIsLandscape ([UIDevice currentDevice ].orientation ) ? self.contentViewInLandscapeOffsetCenterX + CGRectGetWidth (self.view .frame ) : self.contentViewInPortraitOffsetCenterX + CGRectGetWidth (self.view .frame )), self.contentViewContainer .center .y );
774774 } else {
775775 center = CGPointMake ((UIDeviceOrientationIsLandscape ([UIDevice currentDevice ].orientation ) ? self.contentViewInLandscapeOffsetCenterX + CGRectGetHeight (self.view .frame ) : self.contentViewInPortraitOffsetCenterX + CGRectGetWidth (self.view .frame )), self.contentViewContainer .center .y );
You can’t perform that action at this time.
0 commit comments