Using iPhone4s iOS7, Screen orientation is Landscape
-Build an application with below SDKs
I built the application with iOS6 SDK and iOS7 SDK, and checked each of the screen resolution. Below shows the result:
iOS6 SDK:
[[UIScreen mainScreen] bounds] == (0, 0, 320, 480)
[[UIScreen mainScreen] applicationFrame] == (0, 0, 300, 480)
iOS7 SDK:
[[UIScreen mainScreen] bounds] == (0, 0, 300, 480)
[[UIScreen mainScreen] applicationFrame] == (0, 0, 320, 480)
Why do we get inverted value in iOS7?