Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there any way to disable predictive bar of keyboard in ios 8?

So we have predictive bar in iOS 8 but it covers my input field above the keyboard. I found only one solution to hide it by setting correction of textView to NO. But it turns off correction as well which is not good.Any suggestions?Is there any api for this stuff from Apple?

like image 410
efimovdk Avatar asked Sep 23 '14 11:09

efimovdk


2 Answers

Setting autocorrectionType to UITextAutocorrectionTypeNo on the UITextView in question (or correction to NO in IB) disables autocorrect as well as the predictive text bar in iOS 8. There doesn't appear to be a way to disable just the predictive bar however.

like image 85
Casey Fleser Avatar answered Sep 20 '22 05:09

Casey Fleser


You can do it from the UI too. When selecting the text field element, change the Correction option to No

enter image description here

like image 36
Mohsen Avatar answered Sep 19 '22 05:09

Mohsen