Is there a specific Xcode compiler flag that gets set when compiling for iPad?
I want to conditionally compile iPad vs iPhone/iPod Touch code for example:
Or -> just to be sure
-(BOOL)isDeviceAniPad { #if __IPHONE_OS_VERSION_MIN_REQUIRED >= 30200 BOOL deviceIsPad = ([[UIDevice currentDevice] userInterfaceIdiom] == UIUserInterfaceIdiomPad); return deviceIsPad; #endif return NO; }