UINavigationController.PopToRootViewController(Boolean) 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.
Affiche tous les UIViewController objets à l’exception du contrôleur racine.
[Foundation.Export("popToRootViewControllerAnimated:")]
public virtual UIKit.UIViewController[] PopToRootViewController (bool animated);
abstract member PopToRootViewController : bool -> UIKit.UIViewController[]
override this.PopToRootViewController : bool -> UIKit.UIViewController[]
Paramètres
- animated
- Boolean
Boolean indiquant si la transition vers le contrôleur racine doit être animée.
Retours
Tableau de contrôleurs de vue qui ont été extraits de la pile dans le processus de retour au contrôleur racine.
- Attributs
Remarques
Après cet appel, le contrôleur racine se trouve en haut de la pile de UINavigationController, et la vue du contrôleur racine est affichée par le contrôleur de navigation.