UITextInputTraits_Extensions.SetTextContentType(IUITextInputTraits, NSString) UITextInputTraits_Extensions.SetTextContentType(IUITextInputTraits, NSString) 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 IUITextInputTraits

The IUITextInputTraits on which this method operates.

Applies to