It seems like setting autocorrectionType either enables or disables both (1) the autofill of words as you type and (2) the red underline as you misspell a word.
In the Settings App, there are separate sliders for "Auto-Correct" and "Check Spelling".
I am wondering if there is any way (possibly via workaround) to keep misspelled words underlined in the UITextView but not autofill programmatically using Objective-C?
Any help is greatly appreciated!
Try Settings > General > Keyboard > Auto-Correction > Off. Try Settings > General > Keyboard > Auto-Correction > Off.
There is also a "spellCheckingType" property:
[textView setAutocorrectionType:UITextAutocorrectionTypeNo];
[textView setSpellCheckingType:UITextSpellCheckingTypeYes];
I tried this and it will not autocorrect, but it leaves the red lines and suggestions.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With