I am working on a basic application which is working in portrait as well as in landscape mode. When the iPhone simulator keyboard is open in landscape and I am switching the app to portrait mode I am not able to type anything in a text field using my Mac keyboard.
Has anyone experienced this before? Is it a known bug?
None of these suggestions worked for me. I closed the iOS Simulator app and restarted it. That fixed it for me.
In Xcode 9 I faced the same problem with iPhone 8 Plus simulator. It was solved this way:
~/Library/Preferences/com.apple.iphonesimulator.plist
CaptureKeyboardInput
toYES
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.
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.
i think it is only because of a problem that you did not selected 'connect hardware keyboard option, on the simulator menu bar named 'Hardware'
Please follow the steps
Goto : Hardware -> Keyboard -> Connect Hardware Keyboard
Hope it will help you with the problem , Thank you.
Found a great solution that worked for me.
Open simulator, then find menu Hardware -> Keyboard has three options: