I would like to ask, what does [UIScreen mainScreen].bounds have to do with? Why do I get the horizontal screen size when the screen is in portrait orientation? Normally the portrait screen is the vertical screen size. This is because I loaded a webview , there is a video above. When you click on the video, the screen is forced to be horizontal. Press the home button in the horizontal screen state, then screen vertically. Open the app again, and then [UIScreen The size of mainScreen].bounds becomes horizontal, but my phone is currently in portrait mode, as shown in the picture above. What does [UIScreen mainScreen].bounds have to do with? Why is this happening to me?
In the Zhanqi app, there was a problem of confusing directions from the beginning
Is it solved? I also encountered this problem