You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2018/11/01 09:41:55 UTC

[GitHub] aszmyd commented on a change in pull request #31: Fix unlock

aszmyd commented on a change in pull request #31: Fix unlock
URL: https://github.com/apache/cordova-plugin-screen-orientation/pull/31#discussion_r229986246
 
 

 ##########
 File path: src/ios/CDVOrientation.m
 ##########
 @@ -71,12 +68,11 @@ -(void)screenOrientation:(CDVInvokedUrlCommand *)command
                 } else if (orientationMask == 2) {
                     value = [NSNumber numberWithInt:UIInterfaceOrientationPortraitUpsideDown];
                 }
+                [[UIDevice currentDevice] setValue:value forKey:@"orientation"];
 
 Review comment:
   done

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org