Sets the text content type for this view, which the system uses to offer suggestions while the user enters text on an iOS or tvOS device.
- iOS 13.0+
- Mac Catalyst 13.0+
- tvOS 13.0+
- Xcode 11.0+
One of the content types available in the
UITextenumeration that identify the semantic meaning expected for a text-entry area. These include support for email addresses, location names, URLs, and telephone numbers to name just a few.
text to set the content type for this view.
In this example, the
Text is configured for the entry of email addresses.