Instance Method

setTextContentType:

Sets the text field’s semantic meaning.

Declaration

- (void)setTextContentType:(WKTextContentType)textContentType;

Parameters

textContentType

The text field’s content type. Passing nil clears the content type. For a list of possible content types, see WKTextContentType.

Discussion

The text field’s content type modifies how the text input controller and Apple Continuity Keyboard behave.

See Also

Specifying the Content Type

WKTextContentType

Constants that specify a text field’s semantic meaning.