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!
You can use the following property:
As defined in the
UITextInputTraitsprotocol here