I have a UITextView field meant to receive input from a keyboard.
But the standard keyboard not being adequate for my app, I built another one with the buttons and characters I need.
I would normally make use of the UITextViewDelegate protocol and things would work.
But in this situation, how do I connect the UITextView field and my new keyboard?
Is there a “best way to do it”?
Thanks in advance for any relevant information.
Set your custom view as
inputViewof theUITextView.// Edit: additional information:
Your custom keyboard will be a collection of buttons. You can add the same selector as target for all those buttons. Than your callback could be: