Here is my code to get main screen size
[[UIScreen mainScreen] bounds].size;
And in ios5 and ios6 it’s return 480 of height,but when I run it in retina 4 inch simulator
,it still return 480 of height.
Anyone know how to solve this problem?
Many thanks.
Just add a new default png photo with 1136 height.
[[UIScreen mainScreen] bounds].size will return new height of 4-inch screen.