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
I met this problem whenever I rotate the simulator. Following the suggestions to change Hardware options does not work for me, neither reboot iOS Simulator.
I found a trick that click the editing area after rotation makes Mac keyboard end up work.
None of these suggestions worked for me. I closed the iOS Simulator app and restarted it. That fixed it for me.
From Simulator menu >> Hardware >> Keyboard >> Connect Hardware keyboard
OR
just press ⌘ + ⌂ + K
In Xcode 9 I faced the same problem with the iPhone 8+ simulator. I was able to solve it this way:
~/Library/Preferences/com.apple.iphonesimulator.plist
fileCaptureKeyboardInput
value to YES
Just use CMD+SHIFT+K and the keyboard will activate on it's own.
After doing so many stuffs, just a restart of my machine and enabling the below worked.
Enabling this in simulator: Hardware -> Keyboard -> Connect Hardware Keyboard