편집

다음을 통해 공유


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