objective-c - [UIScreen mainScreen].bounds horizontal and vertical screens
仅有的幸福
仅有的幸福 2017-05-02 09:28:47
0
2
711

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?

仅有的幸福
仅有的幸福

reply all(2)
習慣沉默

In the Zhanqi app, there was a problem of confusing directions from the beginning

黄舟

Is it solved? I also encountered this problem

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template