Disable text suggestions on iOS 15+

This commit is contained in:
Saagar Jha
2022-09-18 16:28:50 -07:00
parent 6b5bc8a597
commit 6860c1c505
+4
View File
@@ -443,6 +443,10 @@ static NSString *const HANDLERS[] = {@"syncFocus", @"focus", @"newScrollHeight",
- (UITextAutocorrectionType)autocorrectionType {
return UITextAutocorrectionTypeNo;
}
// Apparently required on iOS 15+: https://stackoverflow.com/a/72359764
- (UITextSpellCheckingType)spellCheckingType {
return UITextSpellCheckingTypeNo;
}
#pragma mark Hardware Keyboard