Available since LÖVE 11.3
This function is not supported in earlier versions.
Gets area inside the window which is known to be unobstructed by a system title bar, the iPhone X notch, etc. Useful for making sure UI elements can be seen by the user.
x, y, w, h = love.window.getSafeArea( )
None.
number xnumber ynumber wnumber hValues returned are in DPI-scaled units (the same coordinate system as most other window-related APIs), not in pixels.
© 2006–2020 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/love.window.getSafeArea