0

I am building keyboard app, and I am wondering if there is a possibility to open my custom keyboard when user pressing on textField within my app. Keyboard is built using storyboard.

I know that I can force textField to open number Pad, Phone pad and other Apple's keyboard options but can I open my own keyboard without going to settings and adding my 3rd party keyboard.

Thanks in advance.

3
  • isn't inputView property working for textfield?
    – Vanita L.
    Nov 22, 2017 at 11:29
  • It is working, and I can choose from a standard Apple keyboards like number Pad etc but how can I open automatically my own custom keyboard? Nov 22, 2017 at 11:45
  • u will need to write it programmatically like: yourTextField.inpiutView = instance of keyboard view.
    – Vanita L.
    Nov 22, 2017 at 12:02

1 Answer 1

0

No, it's not possible, You have to add keyboard once from settings and then automatically your keyboard will pop up. if you really want your own keyboard without adding settings then you need to develop your own custom inputView.

Additional notes I have just go through better approach which might be helpful for you check here and about your second question to detect keyboard please visit here

Note: Apple will not allow you to forcefully active your own keyboard at anycast because of its policy violation.

2
  • Ok, then at least if I am adding keyboard in settings then can I force my in app textField to open only my keyboard instead of standard Apples keyboard and then pressing globe button until I find mine. Nov 22, 2017 at 12:08
  • 1
    No, you can't do this.Current default keyboard will pop up. It may system or your own keyboard and you need to check if it is not your keyboard then show some suggestion to the users that they need to change keyboard by pressing Globe button Nov 23, 2017 at 5:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.