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
Launch iOS Simulator and enable Hardware > Keyboard > Connect Hardware Keyboard.
Hardware > Keyboard > Connect Hardware Keyboard
(You might have accidentally disabled it by pressing CMD + SHIFT + K - same shortcut as Clean in Xcode)
CMD + SHIFT + K