love.window.getSafeArea
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()
x number Starting position of safe area (x-axis).
y number Starting position of safe area (y-axis).
w number Width of safe area.
h number Height of safe area.