편집

다음을 통해 공유


WKInterfaceController.PopToRootController Method

Definition

In a navigation interface, pops all WKInterfaceController except the root.

[Foundation.Export("popToRootController")]
[ObjCRuntime.ThreadSafe(false)]
public virtual void PopToRootController ();
abstract member PopToRootController : unit -> unit
override this.PopToRootController : 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