How does Corona work with cutouts on the modern phones screen’s?
I don’t have a modern phone to test myself, so I want to ask about it. I mean these cutouts (attached).
I had watched some videos, and game apps very often go full widescreen, so these areas (for front camera and sensors) - on top of the smartphone - are also in use.
But if I want to use a top part of the phone for gameplay info (speed, score, lives, what’s coming next, messages, etc how I could now, what part in pixels I shouldn’t use?
There is another problem - these cutouts are very different. Big or small, like a circle or like a rectangle.
I already made resolution-independent prototype, so I use such commands like
display.actualContentWidth display.actualContentHeight display.pixelWidth display.pixelHeight
But I forgot about cutoffs and now apprehend, that some info may be hidden or not fully visible…
Will it happen?