Editar

Compartir a través de


WKInterfaceObject.SetHidden(Boolean) Method

Definition

Hides or displays the interface object, potentially triggering a layout refresh.

[Foundation.Export("setHidden:")]
public virtual void SetHidden (bool hidden);
abstract member SetHidden : bool -> unit
override this.SetHidden : bool -> unit

Parameters

hidden
Boolean

true if the interface object is not displayed.

Attributes

Remarks

The Watch app's layout adjusts, if necessary, to display only objects that are being shown.

Applies to