WKInterfaceController.PopToRootController Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Dans une interface de navigation, affiche tout WKInterfaceController sauf la racine.
[Foundation.Export("popToRootController")]
[ObjCRuntime.ThreadSafe(false)]
public virtual void PopToRootController();
abstract member PopToRootController : unit -> unit
override this.PopToRootController : unit -> unit
- Attributs
Remarques
Cette méthode doit être appelée à partir du thread principal de l’extension Watch Kit. (Voir InvokeOnMainThread(Selector, NSObject) et BeginInvokeOnMainThread(Selector, NSObject))
Cela peut être utilisé à partir d’un thread d’arrière-plan.