UITextContentType Class

Definition

Known values for TextContentType that are hints to the system of the kind of UITextField data.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static class UITextContentType
type UITextContentType = class
Inheritance
UITextContentType
Attributes

Properties

AddressCity

Indicates a text fieldn address field that contains a city name.

AddressCityAndState

Indicates a text fieldn address field that contains a city name and state name or state code.

AddressState

Indicates a text fieldn address field that holds a state name or state code.

CountryName

Indicates a text fieldn address field that holds the name of a country.

CreditCardNumber

Indicates a text field that holds a credit-card number.

EmailAddress

Indicates a text field that holds an email address.

FamilyName

Indicates a text field that holds a family name.

FullStreetAddress

Indicates a text fieldn address field that holds a complete street address, which may have several parts.

GivenName

Indicates a text field that holds a given name.

JobTitle

Indicates a text field that holds the title of a job.

Location

Indicates a text field that holds a precise location (such as an address, latitude and longitude coordinates, or a named point of interest).

MiddleName

Indicates a text field that holds a middle name.

Name

Indicates a text field that holds a name, which may consist of several parts.

NamePrefix

Indicates a text field that holds a name prefix such as an honorific ("Mr.", "Ms.", "Dr.", etc.).

NameSuffix

Indicates a text field that holds the suffix to a name (e.g., "Jr.").

NewPassword

Indicates a text field that accepts a new password.

Nickname

Indicates a text field that holds a preferred name.

OneTimeCode

Indicates a text field that acceps a one-time passcode.

OrganizationName

Indicates a text field that holds the name of an organization.

Password

Indicates a text field password field.

PostalCode

Indicates a text field that holds a postal code.

StreetAddressLine1

Indicates a text fieldn address field that holds the first line of a street address.

StreetAddressLine2

Indicates a text fieldn address field that holds the second line of a street address.

Sublocality

Indicates a text fieldn address field that holds a sublocality, such as a county.

TelephoneNumber

Indicates a text field field that holds a telephone number.

Url

Indicates a text field field that holds a URL.

Username

Indicates a text field user name field.

Applies to