Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

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
[TOPIC CONTROLS]
This topic has been archived. This means that you cannot reply to this topic.
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

Odisej

[GLOBAL: userInfoPane.html]
Odisej
  • Enthusiast

  • 78 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.




[topic_controls]
[/topic_controls]