The textContentType property of UITextField was introduced in iOS 10. When this field is set, it gives the keyboard and the system information about the expected semantic meaning for the content that users enter. In some cases the system can automatically select an appropriate keyboard, improve keyboard corrections and proactive integration with other text-entry opportunities.

In the screenshot provided, the first name text field textContentType is set to UITextContentType.givenName and the system is able to suggest an appropriate value for the text field, just above the keyboard.

More info: https://developer.apple.com/documentation/uikit/uitextinputtraits/1649656-textcontenttype