編集

次の方法で共有


WKInterfaceController.DismissController Method

Definition

Dismisses a modally-presented WKInterfaceController.

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