I always test the iOS app on iOS Simulator in portrait orientation. But I did't know what I change, it currently run in landscape orientation in default...@@"
How to set the default orientation back to portrait mode?
Updated Change the "Supported Device Orientations" to Portrait only. And run the simulator, it will show in portrait mode at start. And then change the "Supported Device Orientations" to what you want, it will start in portrait.
Press command key and press left arrow / right arrow. This would switch between the landscape and portrait views you require.
Android simulator Android Simulators can be rotated using the following hotkeys: Linux – Ctrl + F12. Mac – Fn + Left Ctrl + F12. Windows – Left Ctrl + F11 or Left Ctrl + FF12.
I just had the same problem, I fixed it by going to the app's .plist file, and changing the 'supported interface orientations' options.
It is an array of possible orientations, and I'm pretty sure that it is in priority order, so make sure 'portrait (bottom home button)' is the first one.
It worked for me, hope it helps you.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With