Not able to type in textfield in iphone simulator using Mac Keyboard?

前端 未结 30 920
小蘑菇
小蘑菇 2020-12-23 15:47

I\'m working on a basic iOS app which supports both portrait and landscape modes. When the iPhone simulator keyboard is open in landscape and I\'m switching the app

相关标签:
30条回答
  • 2020-12-23 16:12

    For Version 10.0 (SimulatorApp-851.2 CoreSimulator-518.19) with Xcode 9.3, nothing worked for me. I reset the simulator by Hardware -> Erase All Content and Settings -> Erase. Cleaned the project and run on simulator. Keyboard connection is back.

    0 讨论(0)
  • 2020-12-23 16:13

    Quit simulator and run following command in terminal:

    rm ~/Library/Preferences/com.apple.iphonesimulator.plist

    0 讨论(0)
  • 2020-12-23 16:13

    For me doing this worked on iPhone 8+ simulator iOS 11.2: 1. Go to Menu -> Hardware -> Erase all contents and settings. 2. Delete derived data from xcode. Xcode -> Preferences -> Locations -> Click on right arrow on left side of "Advanced" button.

    0 讨论(0)
  • 2020-12-23 16:14

    On the Simulator try to change the device. Then run your app again on the original device. That worked for me.

    If the first step alone doesn't work uncheck the option: iOS Uses same keyboard layout as OS X and then change the device.

    I figured it out doing random stuff until it worked. Monkey fixing.

    0 讨论(0)
  • 2020-12-23 16:15

    I just restart the simulator and It worked for me.

    0 讨论(0)
  • 2020-12-23 16:16

    I have just installed a new version of Xcode (5.0) and the keyboard in iOS Simulator didn't work on first launch. Just restarting the Simulator helped.

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