Determine if device is iPhone 5

No comments on Determine if device is iPhone 5

Written by

in

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.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *