Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]

system.orientation corona simulator vs xcode simulator
Started by Odisej Sep 24 2017 08:25 AM

No replies to this topic
system.orientation corona simulator xcode simulator iphonex notch
This topic has been archived. This means that you cannot reply to this topic.
[TOPIC: post.html]


[GLOBAL: userInfoPane.html]
  • Enthusiast

  • 86 posts
  • Corona SDK

I noticed when I do this: print(system.orientation) on Corona simulator I get the print value and the phone turned in exact opposite direction that is on xcode simulator. For instance if I try iPhone 6 on corona simulator I get "landscapeLeft" when the phone is turned so that fingerprint button is on the left, if I press hardware orientation landscape left on xcode simulator, the fingerprint button is on the right. Is that a bug of one or the other?

I need this to catch the notch on iPhoneX.