Instance Method

moveDisabled(_:)

Adds a condition for whether the view hierarchy for self can be moved.

Declaration

func moveDisabled(_ isDisabled: Bool) -> some View

See Also

Hiding and Disabling Views

func hidden() -> View

Hides this view.

Beta
func disabled(Bool) -> View

Adds a condition that controls whether users can interact with this view.

Beta
func deleteDisabled(Bool) -> View

Adds a condition for whether the view hierarchy for self can be deleted.

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