UIView.ReservedRegion
A region within a view’s coordinate space that another entity occupies.
Declaration
struct ReservedRegionOverview
A reserved region indicates that another entity occupies an area within a view’s coordinate space that the view doesn’t own. Arrange your view content to account for this region. Each region describes a frame, margins, active state, and an identifier.
There are two categories of reserved regions:
- occlusion
An area where an element, such as the Dynamic Island, a camera, or window controls, occludes content.
- division
An area where content splits into separate regions, such as at the fold of a hinge.
Read reserved regions using the reservedRegions(kind:options:) method, which returns all of the reserved regions that currently intersect your view regardless of whether they are currently active.