Search code examples
keyboardios8ios-app-extension

iOS 8 custom keyboard dismiss (from textfield, etc)


In new iOS 8 custom keyboard extension, we can go to next keyboard by this code.

[self advanceToNextInputMode];

How can I dismiss custom keyboard? (not hide, not go to next keyboard). Thanks for your help. :)


Solution

  • You can use UIInputViewController's dismissKeyboard method.