I make application for Deployment target >= 7.1. And i see the "bug"... Application run in only landscape mode!
Code:
CGSize frameSize = [[UIScreen mainScreen] bounds].size;
In iOS 7 (iPhone 4), returned CGSize (width=320, height=480)
, but must returned 480x320
(Because run application in landscape mode).
In iOS 8 (iPhone 4S), returned CGSize (width=480, height=320)
- correct result.
The impression that iOS 7 returned frame without check landscape/portrait mode, and return size for portrait mode.
Thank.