WatchKit.WKInterfaceController.PresentController Method
Modally presents a page-based UI with the specified WatchKit.WKInterfaceControllers.

Syntax

public void PresentController (string[] names, string[] contexts)

Parameters

names
In the Storyboard, the values of the Identifier for the WatchKit.WKInterfaceController objects to be presented.
contexts
Information for the WatchKit.WKInterfaceControllers to be presented. May be null.

Remarks

The Title of the presented page-based UI will be "Cancel" unless the app dev changes it with WKInterfaceController.SetTitle.

This method must be called from the Watch Kit Extension's main thread. (See Foundation.NSObject.InvokeOnMainThread and Foundation.NSObject.BeginInvokeOnMainThread)

Requirements

Namespace: WatchKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0