In Xcode 6, how do I use the hardware keyboard but display the software keyboard in the iOS simulator

前端 未结 3 1734
-上瘾入骨i
-上瘾入骨i 2021-01-17 15:57

In Xcode 6, the iOS simulator seems to either show no keyboard, meaning you can type but can\'t see the positioning and effect of the software keyboard, or it shows the soft

相关标签:
3条回答
  • 2021-01-17 16:07
    1. Go to the simulator's Hardware menu.
    2. Make sure Connect Hardware Keyboard is checked.
    3. Choose Toggle software keyboard

    By default the hardware keyboard is connected, but the software keyboard is not toggled on. I'm pretty sure this is new behaviour.

    0 讨论(0)
  • 2021-01-17 16:11

    Or you can just use hotkey: command + K

    0 讨论(0)
  • 2021-01-17 16:26

    With the iOS Simulator.app shipped in Xcode 6, the mac's keyboard now interacts with the simulated runtime the same way a bluetooth keyboard interacts with a real device. You can attach and detach the hardware keyboard from the simulator app's Hardware->Keyboard menu.

    If the hardware keyboard is not connected, you can only interact via touch. If the hardware keyboard is connected, you can show/hide the software keyboard with the cmd-k shortcut key (just like how you can double tap eject on a bluetooth keyboard on a real device)

    0 讨论(0)
提交回复
热议问题