WatchKit.WKInterfaceController.PresentTextInputController Method
Asynchronously presents the watch's text input controller.

Syntax

[Foundation.Export("presentTextInputControllerWithSuggestions:allowedInputMode:completion:")]
public virtual void PresentTextInputController (string[] suggestions, WKTextInputMode inputMode, [ObjCRuntime.BlockProxy(typeof(ObjCRuntime.Trampolines/NIDActionArity1V45))] Action<Foundation.NSArray> completion)

Parameters

suggestions
Suggested phrases for input.
inputMode
Value from WatchKit.WKTextInputMode.
completion
Executed after text input completes.

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