object.autocorrectionType

Type String
Object TextField
Library native.*
Revision Current Public Release (2017.3068)
Keywords keyboard, text input, text field, native text
See also object.spellCheckingType

Overview

This iOS-only property controls the type of auto-correction performed. Possible values are:

Please consult the iOS documentation on UITextAutocorrectionType for an explanation of each behavior.

Example

local field = native.newTextField( 50, 150, 220, 36 )
field.autocorrectionType = "UITextAutocorrectionTypeDefault"