Search code examples
iosswiftios-keyboard-extension

How to transition to Emoji keyboard from Custom Keyboard when nextKeyboard is pressed


I'm making a custom keyboard and I want to transition directly to emoji keyboard that is provided by Apple when nextKeyboard button is pressed.

 @IBAction func nextKeyboardPressed(sender: AnyObject) {
        advanceToNextInputMode()
    }

This code takes me to the stock keyboard.
Stock iOS

And I want this keyboard to open when nextKeyboard is pressed
Emoji keyboard

Is it possible? Is there a way to access stack of installed keyboards?


Solution

  • No, you can't. It has been quite limited that the custom keyboard extension to access the external data for some reasons (Especially for security). There is no way to know active keyboards nor change to particuller keyboard.