How do I enable the Japanese keyboard on the iPhon

2020-04-11 20:32发布

I have a UITableview with a UISearchBar, which contain Japanese words, and I want to test if it works to search Japanese words with Japanese keyboard. I can't find how to change the default keyboard on iPhone simulator.

3条回答
Luminary・发光体
2楼-- · 2020-04-11 20:55

Open on simulator Settings application ->General->International->Language. Select here your language and keyboard will have required letters.

查看更多
戒情不戒烟
3楼-- · 2020-04-11 21:01

Note that for Japanese (and Chinese) the keyboard layout isn't that important; what is needed is an input module converting the input to actual ideographic characters. Those are called "IME" (Input Method Editor)

A keyboard has just about a hundred keys, only half of them being alphabetic; but Japanese and Chinese need several thousands different characters. The role of IMEs are to convert phonetic of descriptive input into the wanted characters. Japanese keyboard provides direct typing of phonetic japanese characters (katakana and hiragana); but all japanese IMEs acccept phonetic input either in native kana or in romanized (in latin letters).

查看更多
干净又极端
4楼-- · 2020-04-11 21:22

I think what we really want to do is add an international keyboard, not change the language of the simulator.

  1. Open Simulator
  2. Find Settings. It's an app, not a menu item. Look for the icon with three gears.
  3. Navigate to General > Keyboard > International Keyboards > Add New Keyboard
  4. Now select the international keyboard(s) you'd like to add.
  5. You can access the new keyboard(s) in your app by clicking the button that looks like a globe. enter image description here
  6. Once selected, that keyboard will remain the default until you change it again using the method from step 5.
查看更多
登录 后发表回答