Xcode: creating a custom keyboard for my own application only

I am developing a math application. So I need a specific keyboard. I can just take the decimal panel, but there is no positive / negative ("+/-") button.

Now I want to program a custom keyboard, or I need to change the decimal panel. Which is easier?

If I were programming my own custom keyboard, can I use a custom keyboard extension or do I need to create a view using the button for each number in a separate view?

Because I need a keyboard in different ways: is it possible to create a view using the keyboard and display the keyboard view in the container view on top of other views?

Hope you get my fight.

+4
source share
2 answers

Yes, you could just create your own keyboard class (inherit UIView), and .xib + Auto Layouthelp you make it more flexible. Suppose you use it internally UITextField, then you can install inputViewit Text Field, so there will be your custom keyboard than the basic one.

0
source

, . ?

, , api.

, ?

, , , < href= "https://developer.apple.com/library/ios/documentation/General/Conceptual/ExtensibilityPG/Keyboard.html" rel= "nofollow" > . , iOS.

, .

: ?

, UItextField UITextView . , . , .

-1

All Articles