Partager via


WKInterfaceController.ReloadRootControllers(String[], NSObject[]) Méthode

Définition

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

S’applique à