Skip to content

Commit

Permalink
IPad 1 check
Browse files Browse the repository at this point in the history
  • Loading branch information
coreyfloyd committed Apr 12, 2012
1 parent e60d36a commit 6a46c0b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions FJCode/MacroUtilities.h
Expand Up @@ -13,6 +13,7 @@
//#define IS_RETINA NO

#define IS_IPAD (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad)
#define IS_IPAD_1 (IS_IPAD && ![UIImagePickerController isSourceTypeAvailable: UIImagePickerControllerSourceTypeCamera])

#define VERSION_GREATER_THAN(v1, v2) ([v1 compare:v2 options:NSNumericSearch] == NSOrderedDescending)

Expand Down

0 comments on commit 6a46c0b

Please sign in to comment.