From eb887a69d972a15e67369669792d2eaf10943ac6 Mon Sep 17 00:00:00 2001 From: loiterlion Date: Wed, 3 Dec 2014 15:49:48 +0800 Subject: [PATCH] Update KZColorPicker-Prefix.pch Add IS_IPAD macro back --- KZColorPicker/KZColorPicker-Prefix.pch | 1 + 1 file changed, 1 insertion(+) 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