diff --git a/KZColorPicker/KZColorPicker-Prefix.pch b/KZColorPicker/KZColorPicker-Prefix.pch index 958372c..a79b37f 100644 --- a/KZColorPicker/KZColorPicker-Prefix.pch +++ b/KZColorPicker/KZColorPicker-Prefix.pch @@ -11,5 +11,6 @@ #ifdef __OBJC__ #import #import +#define IS_IPAD ([[UIDevice currentDevice] respondsToSelector:@selector(userInterfaceIdiom)] && [[UIDevice currentDevice] userInterfaceIdiom] == UIUserInterfaceIdiomPad) #endif