An Application that is designed for a device of 480x960 pixel resolution is executed on a 480x1136 device. While running on the 480x1136 device I need to be able to detect the real resolution. Unfortunately, instead of getting the device resolution ('480x1136'), I get the application resolution ( == '480x960'
), hence [[UIScreen mainScreen] bounds].size * [[UIScreen mainScreen] scale]
returns '480x960'
instead of the expected '480x1136'
How can I resolve the real device physical resolution ?