ebaccount ebaccount - 4 years ago 183
Swift Question

Disable auto correction of iPhone text field

When I try to edit texts in my iPhone application (

), it auto-corrects my input.

Could you let me know how can I disable this?

Answer Source
UITextField* f = [[UITextField alloc] init];
f.autocorrectionType = UITextAutocorrectionTypeNo;
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download