How to switch to Emoji keyboard from user keyboard when pressing next key

I am creating a custom keyboard and I want to go directly to the emoji keyboard that is provided by Apple when the nextKeyboard button is nextKeyboard .

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

This code brings me to the keyboard.
Stock iOS

And I want this keyboard to open when nextKeyboard
Emoji Keyboard

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

+4
source share
2 answers

No, you can’t. It was pretty limited that a custom keyboard extension for accessing external data for some reason (especially for security). It is not possible to recognize the active keyboards and not switch to a special keyboard.

0
source

In the Providing a Way to Switch to Another Keyboard section of this document, you cannot say that Apple says:

To switch the system to another keyboard, call the advanceToNextInputMode Method of the UIInputViewController class. the system selects the appropriate "next" keyboard; There is no API for getting a list of activated keyboards or choosing a specific one to switch to.

However, you can change your keyboard to also contain the Emoji section.

0
source

All Articles