safeAreaInsets

A set of distances from the edges of the display where system UI and other elements will be drawn.

Use this margin to inset your content to avoid drawing under system UI elements.