I'm developing the app to work both on iphone4 and iPhone 5. I'm using the following code to get the screen size
CGRect screenBounds = [[UIScreen mainScreen] bounds];
am using the iPhone 5 simulator but it showing the screen size of iPhone 4.
See Question&Answers more detail:os