I added textfield (keyboardTextField) on top of my custom keyboard. I can select it and enter some text (using my custom keyboard). But it's impossible for me to select the input view of the main app back. This line of code
[keyboardTextField resignFirstResponder];
doesn't work correctly. If someone have any workaround or any ideas, I need your help.