Raising the iPad keyboard, which predominantly symbolizes

Sorry in advance if this will be answered, but I really could not find it. I am trying to deduce the type of keyboard on the iPad that appears when I press the "# + =" button. I tried to look through all types of documents and I am sure that this did not succeed. Am I missing something, or should the user click this button every time?

Edit: this question was closed as β€œoff topic” because it did not include code or ideas or what I already tried ... Therefore, for a little more detail, I used EVERY type of keyboard that is available on documents, for example

theTextField.keyboardType = UIKeyboardTypeNumberPad; 

This did not produce the results that I need, which is the keyboard plane that appears when you press the # + = button, because I wanted users to go straight to that.

+4
source share
2 answers

You have no way to influence the built-in keyboards.

However, you can create your own custom input view that you would set on the inputView of your text editing view before making it the first responder. Then iOS will show this view.

Take a look at my project that implemented Marine Keyboard (a joke in April), but demonstrates how to create a custom keyboard that still interacts with the text box, as you would expect. http://www.cocoanetics.com/2012/04/dtmorsekeyboard-tutorial/

+3
source

Unfortunately this is not possible. This is not the type of keyboard you need; it is the keyboard plane. There is no public API for switching or in any way accessing keyboard planes.

One solution might be to create your own keyboard with the characters you need. Another solution would be to open the keyboard and then create a touch event that will switch the keyboard plane. However, it will be difficult, not tolerated and a little dangerous.

+5
source

Source: https://habr.com/ru/post/1496259/


All Articles