Possible Duplicate:
iPhone Programming: Deactivate spell check in UITextView
I am creating a spelling quiz app.
When I type in text in textbox, because auto-correction is ON it shows the correct answer.
I would like to do either of following: (a) Programatically turn OFF Auto-Correction OR (b) Give user the option to manually turn OFF Auto-Correction within the app.
Please let me know solution to either of above.
Thanks!
Tap Keyboard Settings, then turn on Predictive. Or go to Settings > General > Keyboard, and turn Predictive on or off. See a full list of languages that support predictive text.
You can do this by tapping the dots to the keyboard's right. Once you're in Settings, tap on the Text correction option at the top. Swipe down a little to the Corrections section and toggle off the Auto-correction option. That's it; that's all you need to do to turn off the feature on Gboard.
Open Settings on your iPhone. Tap General. Tap Keyboard. Toggle the option for “Auto-Correction” so that it's off.
Turn on auto-correction on your device: On iPhone or iPad, open a document in Pages, Numbers, or Keynote, tap the More button , tap Settings, then tap Auto-Correction. On Mac, in Pages, Numbers, or Keynote choose [app name] > Preferences from the menu bar, then choose Auto-Correction.
textField.autocorrectionType = UITextAutocorrectionTypeNo;
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