WatchKit.WKInterfaceController.Awake Method
Main initialization method.

Syntax

[Foundation.Export("awakeWithContext:")]
public virtual void Awake (Foundation.NSObject context)

Parameters

context
Arbitrary data (set by presenting WatchKit.WKInterfaceController). May be null.

Remarks

The context may contain data from a previous WatchKit.WKInterfaceController, and is passed by the WKInterfaceController.PresentController method.

Most initialization should be done in this method rather than WKInterfaceController.WillActivate.

Requirements

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