Upravit

Sdílet prostřednictvím


WKInterfaceSwitch.SetEnabled(Boolean) Method

Definition

Enables or disable the switch.

[Foundation.Export("setEnabled:")]
public virtual void SetEnabled (bool enabled);
abstract member SetEnabled : bool -> unit
override this.SetEnabled : bool -> unit

Parameters

enabled
Boolean

true if the switch is enabled.

Attributes

Applies to