10

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 software keyboard, meaning you can see it on the screen, but can't type on it - and typing on the soft keyboard with the mouse is really slow!

How do I get the old behaviour back, where you can see the software keyboard, but type on the hardware one?

jrturton
  • 118,105
  • 32
  • 252
  • 268

3 Answers3

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

jrturton
  • 118,105
  • 32
  • 252
  • 268
  • When physical keyboards are attached, the software keyboard is on by default in the iOS Simulator and off by default on real devices. – Jeremy Huddleston Sequoia Sep 19 '14 at 22:45
  • 1
    That doesn't match the behaviour I've seen - unless I did something mysterious when first running the simulator from Xcode 6, I never had a software keyboard, and when I turned it on, I could only type by clicking with the mouse. – jrturton Sep 20 '14 at 17:55
  • That *IS* the software keyboard. – Jeremy Huddleston Sequoia Sep 22 '14 at 22:05
  • 1
    In previous versions, I always had the software keyboard visible, but could type on the Mac's keyboard. Getting that behaviour back is what this question is about. – jrturton Sep 22 '14 at 23:12
  • If that is what you want, you need to have the hardware keyboard connected (that is on by default). The Mac's keyboard now behaves like a bluetooth keyboard attached (or not, if the toggle is off) to the device. – Jeremy Huddleston Sequoia Sep 23 '14 at 21:08
4

Or you can just use hotkey: command + K

Gergo Erdosi
  • 40,904
  • 21
  • 118
  • 94
Baki
  • 490
  • 4
  • 19
1

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)

Jeremy Huddleston Sequoia
  • 22,938
  • 5
  • 78
  • 86