How to check if a device is an iPad in iOS 3 and up
BOOL isIPad = NO;
#ifdef UI_USER_INTERFACE_IDIOM
if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad) {
isIPad = YES;
}
#endif
7 months ago on Wednesday, October 19th, 2011 at 9:55 PM