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

后端 未结 12 736
太阳男子
太阳男子 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:32

    Deleting com.apple.iphonesimulator.plist did not help me under Xcode 6.0.1. Probably, it worked in old Xcode.

    But, what works perfectly for me under Xcode 6.0.1, it is new hot Keys in iOS Simulator:

    Shift-Command-K   Connect/Disconnect Hardware Keyboard
    Command-K         Toggle (Show/Hide) Software Keyboard
    

    And, you know, I really suffered for last 2 months, until found it, and it is very convenient now))

    0 讨论(0)
  • 2020-12-22 17:32

    All I needed to do was quit the simulator and launch it again

    0 讨论(0)
  • 2020-12-22 17:35

    This is because you have used changing the orientation of simulator using keyboard shortcuts. Just press cmd on the mac keyboard then start typing.

    0 讨论(0)
  • 2020-12-22 17:36

    MY PROBLEM WAS KEYBOARD IS SHOWING AND KEYSTROKES NOT DETECTING. AND I FOUND THE SOLUTION:

    You don't need to quit the keyboard.

    Try Hardware->Keyboard->Connect Hardware Keyboard directly

    0 讨论(0)
  • 2020-12-22 17:38

    I am using iOS Simulator Version 7.0. While the simulator was running I went to iOS Simulator->Reset Contents and Settings... and reset the simulator from there. That seemed to have done the trick for me. Hope that helps.

    0 讨论(0)
  • 2020-12-22 17:38

    Removing com.apple.iphonesimulator.plist worked for me too, but I had to locate it inside the hidden folder /Users/[yourusername]/Library/Preferences/

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