UITextInputTraits_Extensions.SetTextContentType Method

Definition

Sets the semantic of the expected input, which allows the system to, for example, provide custom keyboards.

public static void SetTextContentType (this UIKit.IUITextInputTraits This, Foundation.NSString value);
static member SetTextContentType : UIKit.IUITextInputTraits * Foundation.NSString -> unit

Parameters

This
IUITextInputTraits

The IUITextInputTraits on which this method operates.

value
NSString

Applies to