WatchKit.WKInterfaceController.PushController Method
In a navigation interface, initializes and displays a new WatchKit.WKInterfaceController.

Syntax

[Foundation.Export("pushControllerWithName:context:")]
public virtual void PushController (string name, Foundation.NSObject context)

Parameters

name
In the Storyboard, the value of the Identifier for the WatchKit.WKInterfaceController to be displayed.
context
Information for the WatchKit.WKInterfaceController being displayed. 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