WKInterfaceController.ReloadRootControllers(String[], NSObject[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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