Page 1 of 1

iPhone X Bezel

Posted: Mon May 27, 2019 8:04 pm
by SSH
Hi, I'm working on a Love2D game for iPhone, and I'm curious, how can I make the game respect iPhone X bezels? By that I mean, run only in the safe area of iPhone X screen (do not use the top and bottom parts with the bezel and the rounded corners)?

Thanks, I will really appreciate any hints in that direction!

Re: iPhone X Bezel

Posted: Mon May 27, 2019 10:22 pm
by slime
There isn't a way to detect the safe area in released versions of LÖVE, but 11.3 (in development) adds a function for it: love.window.getSafeArea.

Re: iPhone X Bezel

Posted: Tue May 28, 2019 9:11 am
by gianmichele
Any eta(ish) for the new release?