Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]

iPhone Top Notch size on rotation
Started by efgames.net Dec 15 2019 12:38 AM

No replies to this topic
[TOPIC: post.html]


[GLOBAL: userInfoPane.html]
  • Contributor

  • 221 posts
  • Corona SDK

Hey guys,

Since my game support rotation of device, it is hard to play it when it is on iPhone with Top Notch:



I'm now trying to get a hold of it, but I cant get size or position of that Top Notch:

display.topStatusBarContentHeight is always same size. But How do I know where? Is it top or it is bottom? Is it left or it is Right?


display.safeActualContentWidth, display.safeActualContentHeight is inconsistent - after rotatin device - they showing wrong numbers(or do they do not understand orientation?).