How do I type using my keyboard on the iphone simulator?

后端 未结 12 869
太阳男子
太阳男子 2020-12-22 17:21

I used to be able to type with my real mac keyboard after launching the iPhone Simulator. Typing with the on-screen simulator keyboard is just horrible when testing with lar

12条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-22 17:50

    Don't trash the iPhone simulator preference files. There's no need to do this.

    Look in the simulator's menu Hardware ➔ Keyboard. The menu options are:

    1. iOS Uses Same Layout as OS X
    2. Connect Hardware Keyboard ⇧⌘K
    3. Toggle Software Keyboard ⌘K

    Ensure option 2 is checked.

    If it's already checked, uncheck it then check it again (you'll probably want to learn the keyboard shortcuts).

    If you find that this hides the on screen keyboard, but you also want this to show, use option 3 to toggle it back on.

    If rotating the simulator seems to stop the keyboard working, toggle option two off then back on – this seems to resolve it.

提交回复
热议问题