Reputation: 218
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]
?
Upvotes: 0
Views: 57
Reputation: 1579
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.
Upvotes: 1