This is how you determine, if device has a screen size of iPhone 5 if you develop an app for iPhones only.
1 |
#define IS_WIDESCREEN [[UIScreen mainScreen] bounds].size.height >= 568 |
Here is much more complex way to determine this.