When I run my app in the simulator I don't get the correct screen resolution.
I query [[UIScreen mainScreen] bounds] when running in simulator in iPhone6 mode and get 1136x640 (after scale).
But iPhone6 resolution is 1334x750.
Choosing other target devices results in same problem.
How can I determine the correct screen size in simulator?
Using XCode Version 6.4 (6E35b)
Sample output from my console:
ios: scale=(2)
ios: before scale, main.screen.size..................=(568,320)
ios: before scale, main.screen.preferred.mode.size...=(640,1136)
ios: before scale, application.frame.size............=(568,320)
ios: before scale, current.mode.size.................=(640,1136)