I am building a custom keyboard, and I want to use the built in text replacements feature. The text doesn't change automatically for my keyboard, yet other third party keyboards do work with text replacements.
There is a shouldChangeCharactersInRange
callback in UITextField, but that is unavailable for keyboard extensions since we have to use textDocumentProxy
Is there another way to access text replacements?
requestSupplementaryLexicon(completion:)
Thanks a lot to myself!