0

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?

Grant Oganyan
  • 352
  • 1
  • 11

1 Answers1

1

requestSupplementaryLexicon(completion:)

Thanks a lot to myself!

Grant Oganyan
  • 352
  • 1
  • 11