Upravit

Sdílet prostřednictvím


WKInterfaceController.BecomeCurrentPage Method

Definition

In a page-based UI, makes this the active controller.

[Foundation.Export("becomeCurrentPage")]
[ObjCRuntime.ThreadSafe(false)]
public virtual void BecomeCurrentPage ();
abstract member BecomeCurrentPage : unit -> unit
override this.BecomeCurrentPage : unit -> unit
Attributes

Remarks

This method must be called from the Watch Kit Extension's main thread. (See InvokeOnMainThread(Selector, NSObject) and BeginInvokeOnMainThread(Selector, NSObject))

This can be used from a background thread.

Applies to