17

UIKeyboard with QuickType!

It is bad to know that there is no sufficient space of screen on iPhone devices, now apple has been taken more room by adding QuickType. How can I remove it for items that do not need quicktype's auto complete, auto suggest?

Mike Zriel
  • 1,575
  • 1
  • 17
  • 28

1 Answers1

41

You can set the autocorrectionType to NO. Its an existing iOS property so won't break in any previous/current versions of iOS;

textField.autocorrectionType = UITextAutocorrectionTypeNo;
idmean
  • 14,540
  • 9
  • 54
  • 83
William George
  • 6,735
  • 3
  • 31
  • 39
  • 1
    Thanks that worked brilliant! Hope you are well too! I am on iOS8 + Yosemite – Mike Zriel Jun 06 '14 at 10:02
  • 1
    Note that this only prevents the display of suggestions. If you need to prevent QuickType from learning for security reasons, this setting will not prevent learning on the iOS 8 GM seed. – Walt Sellers Sep 15 '14 at 17:22
  • @WaltSellers are you aware of any technique that disables this learning system? – Leon Sep 24 '14 at 09:33
  • @Leon No, I am not aware of any technique for disabling QuickType's learning. Sorry. – Walt Sellers Sep 24 '14 at 09:44
  • @WaltSellers Do you think it could be abused? I think we may assume that Apple doesn't learn from a password field which takes care of the security risk of QuickType. – Leon Sep 26 '14 at 09:32
  • @WaltSellers - If your worried - as an end user you can turn `predictive` off in the `keyboard settings` in `general` - again no evidence that apple removes the learning when off. – William George Sep 26 '14 at 11:19
  • @WilliamGeorge - a few quick tests easily show that QuickType does still learn when the "Predictive" option is turned off. – Walt Sellers Sep 29 '14 at 16:44
  • Great but I WANT the quicktype keyboard. I DONT want the red lines under suggestions ... how can these be achieved at the same time? – DanMoore Oct 22 '14 at 02:46
  • UITextAutocorrectionTypeNo is not working in iphone 6 - iOS 8.1 – iGW Nov 10 '14 at 11:51
  • It doesn't work on iPad. – Dmitry Apr 27 '16 at 11:19