Use the autocorrectionType property of the autocorrectionType protocol, which is implemented by UITextView
@property(nonatomic) UITextAutocorrectionType autocorrectionType
Use it as below
Disable
myTxtview.autocorrectionType = UITextAutocorrectionTypeNo ;
To turn on
myTxtview.autocorrectionType = UITextAutocorrectionTypeYes ;
Apple documentation
source share