Handling iPhone X/Xs/Max and invalid screen areas

Is there an easy way to detect what areas of the screen are usable? I want to move my menu up by about 20-30 pixels in the iPhone/iPhone Xs.

I’m wondering if Roblox has provided a generic API for parts of the screen not usable, or if I’m going to have to hard code this.


Right now it just looks bad.


Lots of phones, both iOS and Android have stopped using perfectly rectangle displays. There isn’t an API I know of, but I have a feeling neither platform has an easy method to detect beveled corners.


Web browsers have a specification for it, which is why I’m wondering!

1 Like