Instance Property

autocorrectionType

The autocorrection style for the text object.

Declaration

@property(nonatomic) UITextAutocorrectionType autocorrectionType;

Discussion

This property determines whether autocorrection is enabled or disabled during typing. With autocorrection enabled, the text object tracks unknown words and suggests a more suitable replacement candidate to the user, replacing the typed text automatically unless the user explicitly overrides the action.

The default value for this property is UITextAutocorrectionTypeDefault, which for most input methods results in autocorrection being enabled.

See Also

Managing Spelling and Autocorrection

autocapitalizationType

The auto-capitalization style for the text object.

UITextAutocapitalizationType

The auto-capitalization behavior of a text-based view. Used with the autocapitalizationType property.

UITextAutocorrectionType

The autocorrection behavior of a text-based view. Used with the autocorrectionType property.

spellCheckingType

The spell-checking style for the text object.

UITextSpellCheckingType

The spell-checking behavior of a text-based view. Used with the spellCheckingType property.