I would like to disable text-entry autocorrect in an iPad application, regardless of what the global settings for autocorrect are on the device. Is there a good way to do this t
as @cocoakomali suggested, you can create a category of UITextField to disable autocorrect for all UITextField in the app by default
@implementation UITextField (DisableAutoCorrect)
- (instancetype)init {
self = [super init];
if (self) {
[self setAutocorrectionType:UITextAutocorrectionTypeNo];
}
return self;
}
@end