This question already has an answer here:
- Disable auto correction of UITextField 6 answers
I have a case where autocorrection NEVER makes any sense. It's incredibly annoying. Can I disable it for the UITextField?
With Interface Builder you can disable "Correction" in the "Attributes" Tab in Inspector.
Programmaticaly you can use
UITextField* textfield = [[UITextField alloc] init];
textfield.autocorrectionType = UITextAutocorrectionTypeNo;
来源:https://stackoverflow.com/questions/3802389/how-to-disable-text-autocorrection-for-an-uitextfield-or-keyboard