WatchKit.WKInterfaceController.PresentController Method
Modally presents a WatchKit.WKInterfaceController.

Syntax

public void PresentController (string name, string context)

Parameters

name
In the Storyboard, the value of the Identifier for the WatchKit.WKInterfaceController to be presented.
context
Information for the WatchKit.WKInterfaceController to be presented. May be null.

Remarks

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