WKInterfaceController.ReloadRootControllers(String[], NSObject[]) 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 utilisateur basée sur une page, recharge l’ensemble de WKInterfaceControllers affichés.
[Foundation.Export("reloadRootControllersWithNames:contexts:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.WatchOS, 4, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'ReloadRootPageControllers' instead.")]
public static void ReloadRootControllers(string[] names, Foundation.NSObject[] contexts);
static member ReloadRootControllers : string[] * Foundation.NSObject[] -> unit
Paramètres
- names
- String[]
Dans le Storyboard, les identificateurs des WKInterfaceControllers.
- contexts
- NSObject[]
Informations pour les WKInterfaceControllers en cours de chargement. Peut avoir la valeur null.
Ce paramètre peut être null.
- Attributs