Instance Method

edgesIgnoringSafeArea(_:)

Extends the view out of the safe area on the specified edges.

Declaration

func edgesIgnoringSafeArea(_ edges: Edge.Set) -> some View

Parameters

edges

The set of the edges on which to ignore the safe area.

Return Value

A view that extends this view out of the safe area on the edges specified by edges.

See Also

Positioning a View

func position(CGPoint) -> View

Fixes the center of the view at the specified point in its parent’s coordinate space.

func position(x: CGFloat, y: CGFloat) -> View

Fixes the center of the view at the specified coordinates in its parent’s coordinate space.

func offset(CGSize) -> View

Offsets the view by the horizontal and vertical distances in the given size.

func offset(x: CGFloat, y: CGFloat) -> View

Offsets the view by the specified horizontal and vertical distances.

func coordinateSpace<T>(name: T) -> View

Assigns a name to this view’s coordinate space to which descendants of this view can refer.