The Beautiful Mind
Monday, September 29, 2014
Check device for iPhone 5
#define IS_IPHONE_5 ( fabs( ( double )[ [ UIScreen mainScreen ] bounds ].size.height - ( double )
568
) < DBL_EPSILON )
if
(
IS_IPHONE_5
)
{
// It's iPhone 5
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment