How do I enable the Japanese keyboard on the iPhone simulator?

风格不统一 提交于 2019-12-20 02:36:26

问题


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.


回答1:


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




回答2:


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.

  6. Once selected, that keyboard will remain the default until you change it again using the method from step 5.



回答3:


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).



来源:https://stackoverflow.com/questions/8051141/how-do-i-enable-the-japanese-keyboard-on-the-iphone-simulator

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!