我不想在搜索栏中进行拼写检查。
关于它的文档非常简单,但是使用:
searchBar.spellCheckingType = UITextSpellCheckingTypeNo;
在iOS 5和7下无法运行;拼写检查仍然存在。
这个问题有什么解决方案?
最佳答案
尝试这个
[searchBar setAutocorrectionType:UITextAutocorrectionTypeNo];
关于ios - UISearchBar拼写检查,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20749570/