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

Syntax

[Foundation.Export("presentControllerWithName:context:")]
public virtual void PresentController (string name, Foundation.NSObject 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