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
Repeating below command twice worked for me!!
CMD+Shift+K
I had problem with iPhone6 simulator i changed it to iPhone7.On iPhone7 i am able to continue my work.
I ran into this problem after I removed Main.storyboard
and created the main window in code. Reverting back to using Main.storyboard
fixed it for me.
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.
Launch iOS Simulator and enable Hardware > Keyboard > Connect Hardware Keyboard
.
(You might have accidentally disabled it by pressing CMD + SHIFT + K
- same shortcut as Clean in Xcode)
for me, on simulator opened, in the menu of your mac, click Hardware and reach to keyboard option and select toggle software keyboard.as shown