Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ios/97.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ios UISearchBar拼写检查_Ios_Iphone_Xcode_Uisearchbar - Fatal编程技术网

Ios UISearchBar拼写检查

Ios UISearchBar拼写检查,ios,iphone,xcode,uisearchbar,Ios,Iphone,Xcode,Uisearchbar,我不想在搜索栏中检查拼写 关于它的文档非常简单,但使用: searchBar.spellCheckingType = UITextSpellCheckingTypeNo; 不在iOS 5和iOS 7下工作;拼写检查仍然存在。 这个问题的解决方案是什么?试试这个 [searchBar setAutocorrectionType:UITextAutocorrectionTypeNo];

我不想在搜索栏中检查拼写

关于它的文档非常简单,但使用:

searchBar.spellCheckingType = UITextSpellCheckingTypeNo;
不在iOS 5和iOS 7下工作;拼写检查仍然存在。 这个问题的解决方案是什么?

试试这个

[searchBar setAutocorrectionType:UITextAutocorrectionTypeNo];