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
Its not a problem just Do these easy steps.
Open Simulator
Going To Top And you See Option Hardware click on this.
When you click on Hardware some option appear and one option is Keyboard.
Click on the Keyboard option and you see three option appear.
If you want to use your mac button keyboard simple select 2nd option Connect Hardware Keyboard.
If your want to use mobile tapping keyboard select 3rd option.
1st option is for those who select their keyboard through code.
Enjoy that all work.