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