Possible Duplicate:
How to deal with iPhone 5 screen size?
iphone 5 has a different screen size and the others have different screen size. How do i program to make my app reliable for both usage?
Possible Duplicate:
How to deal with iPhone 5 screen size?
iphone 5 has a different screen size and the others have different screen size. How do i program to make my app reliable for both usage?
If you're using IB then everything is done for you.
However, if you're putting custom objects on the screen then you will need to know which device you are putting them on. The way I've done it is so use:
[[UIScreen mainScreen] bounds];
And then if the height is 1136, it's an iPhone 5.