Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to programmatically turn off Auto Correction in iphone sdk? [duplicate]

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!

like image 952
meetpd Avatar asked Aug 03 '12 05:08

meetpd


People also ask

How do I disable auto correct iPhone?

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.

How do I bypass auto correct?

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.

How do I get my iPhone to stop misspelling words?

Open Settings on your iPhone. Tap General. Tap Keyboard. Toggle the option for “Auto-Correction” so that it's off.

Can you edit auto correct on iPhone?

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.


1 Answers

textField.autocorrectionType = UITextAutocorrectionTypeNo;
like image 79
Apurv Avatar answered Oct 03 '22 09:10

Apurv