WatchKit.WKInterfaceController.GetContextsForSegue Method
In response to a button tap leading to a page-based UI, returns the context objects to be passed to the WatchKit.WKInterfaceController objects' WKInterfaceController.Awake methods.

Syntax

[Foundation.Export("contextsForSegueWithIdentifier:")]
public virtual Foundation.NSObject[] GetContextsForSegue (string segueIdentifier)

Parameters

segueIdentifier
The segue that is about to occur.

Returns

Contexts for the WKInterfaceController.Awake methods of the upcoming page-based UI.

Remarks

The size of the returned array must equal the number of pages in the target page-based UI.

Requirements

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