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

Setting the Position of a View

func position(CGPoint) -> View

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

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

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

Beta
func offset(CGSize) -> View

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

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

Offsets this view by the specified horizontal and vertical distances.

Beta

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software