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

前端 未结 30 1208
小蘑菇
小蘑菇 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:33

    In Xcode 9 I faced the same problem with the iPhone 8+ simulator. I was able to solve it this way:

    1. Open ~/Library/Preferences/com.apple.iphonesimulator.plist file
    2. Find the problematic simulator identifier (shown in the Devices and Simulator window)
    3. Set CaptureKeyboardInput value to YES
    4. Restart the Simulator

提交回复
热议问题