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!
iPhone X Bezel
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
- slime
- Solid Snayke
- Posts: 3163
- Joined: Mon Aug 23, 2010 6:45 am
- Location: Nova Scotia, Canada
- Contact:
Re: iPhone X Bezel
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.
-
- Citizen
- Posts: 66
- Joined: Tue Jan 14, 2014 11:03 pm
Re: iPhone X Bezel
Any eta(ish) for the new release?
Who is online
Users browsing this forum: No registered users and 3 guests