Contents

isEnabled

A Boolean value that indicates whether this capture event interaction is in an enabled state.

Declaration

var isEnabled: Bool { get set }

Discussion

Set this value to false when your app can’t or won’t respond to the action callbacks to avoid non-interactive buttons or UI elements.

See Also

Inspecting the interaction