Xcode Simulator Rotate

I'm developing an iPad app in Xcode 13.1. I'm using the iPad Air 2 simulator (that's the physical iPad I have). I've set the simulator to be in landscape mode with the home button to the right. When my app loads, it always loads in portrait mode. If I rotate the simulator to portrait and back to landscape, the app screen rotates as desired. Why isn't the app screen properly rotated when the app first launches in the simulator?

Thanks, Mark

Why isn't the app screen properly rotated when the app first launches in the simulator?

I'm not sure if Apple's engineer would respond to this question. But none of the software features cannot move the actual physical device orientation in the hand of user.

So, the simulator is properly simulating the behavior of your app, when user holds an iPad in the portrait orientation.

In a few generations ago, old Xcode are changing orientation according to the orientation settings of the app. In fact, I was a little confused when this change was first introduced.

But, now, I am accustomed to it and thinking that this behavior is quite reasonable.

I have the same issue I wanna check my app in landscape mode when I click

Command + left arrow key / right arrow key

It just landscapes the ios simulator but not the screen. the screen is still in portrait mode what should I do I have checked some settings too but didn't find any help.

Xcode Simulator Rotate
 
 
Q