(setAutocorrectionType:)它默认就是yes,可以禁掉(即设为NO)。
不仅SearchBar、TextField、UITextView,都可用到此Method.
[SearchBar setAutocorrectionType:UITextAutocorrectionTypeNo];
[TextField setAutocorrectionType:UITextAutocorrectionTypeNo];
[UITextView setAutocorrectionType:UITextAutocorrectionTypeNo];