Change the view’s proposed area to extend outside the screen’s safe areas.
- iOS 13.0+
- macOS 10.15+
- Mac Catalyst 13.0+
- tvOS 13.0+
- watchOS 6.0+
- Xcode 11.0+
The set of the edges in which to expand the size proposed for this view.
A view that accepts the size proposed for it, extends that size out of the safe area on the edges specified by
edges, proposes that area to this view, and centers this view.
edges to change the area proposed for this view so that — were the proposal accepted — this view could extend outside the safe area to the bounds of the screen for the specified edges.
For example, you can propose that a text view ignore the safe area’s top inset:
If this view does not accept the size proposed for it, it is positioned in the center of the proposed area.