views:

140

answers:

1

I need to be able to force a different international keyboard, without the user manually having to go into the Settings application and enable that keyboard.

For example, the user only has English (AU) enabled, and I want to be able to bring up a keyboard for inputting Chinese without them having to enable the keyboard, and switch to that manually.

Any help is appreciated :)

+1  A: 
[[UIKeyboardImpl sharedInstance] setInputMode:@"emoji"];

Which, of course, this is undocumented.

Or change ~/Library/Prefereces/.GlobalPreferences.plist and ~/Library/Prefereces/com.apple.preferences.plist (the method many apps used to enable Emoji).


There's no documented way to force enable a keyboard. Better tell the users to enable it themselves.

KennyTM
Thanks for the code and heads up!
yongobongo