Instance Method

deleteDisabled(_:)

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

Declaration

func deleteDisabled(_ 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 moveDisabled(Bool) -> View

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

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