Input content type - iOS

On iOS, you can set a content type by using the textContentType property.

The following values are defined in UITextContentType:

Example of using textContentType:

emailField.textContentType = .emailAddress