Last active
August 29, 2015 14:00
-
-
Save chourobin/09b434b341c89a723d75 to your computer and use it in GitHub Desktop.
iOS screen size macro
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define __IS_IPHONE_5 ( fabs( ( double )[ [ UIScreen mainScreen ] bounds ].size.height - ( double )568 ) < DBL_EPSILON ) | |
#define __IPHONE_OS_VERSION_MIN_REQUIRED | |
#define __IPHONE_OS_VERSION_MAX_ALLOWED |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment