ios - Disable iOS8 Quicktype Keyboard programmatically on UITextView -
i'm trying update app ios8, has chat interface, new quicktype keyboard hides text view, turn off programmatically or in interface builder.
is possible somehow or users can turn off in device settings?
i know there question/answer solves problem uitextfield
, need uitextview
.
you may disable keyboard suggestions / autocomplete / quicktype uitextview can block text on smaller screens 4s shown in example
with following line:
mytextview.autocorrectiontype = uitextautocorrectiontypeno;
and further if youd on specific screen such targeting 4s
if([[uidevice currentdevice]userinterfaceidiom] == uiuserinterfaceidiomphone) { cgfloat screenheight = [uiscreen mainscreen].bounds.size.height; if (screenheight == 568) { // iphone 5 screen } else if (screenheight < 568) { // smaller iphone 5 screen 4s } }
Comments
Post a Comment