WKInterfaceController.ReloadRootControllers(String[], NSObject[]) 方法

定义

在基于页面的 UI 中,重新加载显示的 一 WKInterfaceController组 。

[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

参数

names
String[]

在情节提要中,为 的 WKInterfaceController标识符。

contexts
NSObject[]

WKInterfaceController正在加载 的 的信息。 可为 null

此参数可以为 null

属性

适用于