I'm making a custom keyboard for iOS8, and I managed to do my own return key, using [self.textDocumentProxy insertText:@"\n"];
But that also dismiss the keyboard, which I don't want. I need the keyboard to stay on.
I tried to make my UIInputViewController delegate of UItextField to access the textfieldShouldEndEditing delegate method, but it's never fired. It seems like it is impossible access the currently edited UITextfield from the custom keyboard.
Is there any way to prevent the keyboard to dismiss when my return key is pressed ?
Cheers,