terrychou / iVim

A vim port to iOS.
598 stars 35 forks source link

[iOS/iPadOS 15] Hide QuickType bar #216

Closed kkebo closed 2 years ago

kkebo commented 2 years ago

In iOS/iPadOS 14.x and earlier, the QuickType bar has been hidden, but in iOS/iPadOS 15, it now appears.

41F69B64-C850-4999-8970-36F828264C2A

According to the release notes,

In iOS 14 and iPadOS 14 and earlier, when autocorrectionType is set to UITextAutocorrectionTypeNo, the QuickType bar is disabled. For apps linked against iOS 15 and iPadOS 15 or later, the QuickType bar is enabled and shows spellchecking candidates. If the new behavior isn’t desirable for your use case, set spellCheckingType to UITextSpellCheckingTypeNo to hide the QuickType bar. (68874861)

So, I think it is required to add spellCheckingType = .no similar to this line.

terrychou commented 2 years ago

Thanks for this hint! I've added this to disable the QuickType bar in i(Pad)OS 15 and it is included in the next update.

Actually, it would be better to support the QuickType. But it requires a better conformation to the protocol UITextInput which has poor documentation or example code. I may give it a try when I have time. (#215)

kkebo commented 2 years ago

This issue seems resolved in iVim 2.43 (7).

kflu commented 2 years ago

Thanks for this hint! I've added this to disable the QuickType bar in i(Pad)OS 15 and it is included in the next update.

Actually, it would be better to support the QuickType. But it requires a better conformation to the protocol UITextInput which has poor documentation or example code. I may give it a try when I have time. (#215)

Yes quick type is very helpful as I finger type a lot. Would appreciate if you support this.