0

I have created a third party keyboard for a language which is not there in the default keyboard list. To use it in my app I have to go to Settings and add it manually. After that only I can use it in the app. Is there any way to add it in the code and load the keyboard in the app as [yourTextField becomeFirstResponder]?

rmaddy
  • 314,917
  • 42
  • 532
  • 579
NavodaP
  • 218
  • 3
  • 18

1 Answers1

1

If your third party keyboard is a subclass of UIView then you can use textfild's "inputView" property to assign that keyboard view.

yourTextField.inputView = thirdPartyKeyboard

After this

[yourTextField becomeFirstResponder];

will present third party keyboard instead of default keyboard.

KavyaKavita
  • 1,581
  • 9
  • 16