WKInterfaceController.ReloadRootControllers(String[], NSObject[]) Method

Definition

In a page-based UI, reloads the set of WKInterfaceControllers displayed.

[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

Parameters

names
String[]

In the Storyboard, the Identifiers of the WKInterfaceControllers.

contexts
NSObject[]

Information for the WKInterfaceControllers being loaded. May be null.

This parameter can be null.

Attributes

Applies to