Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if ([UIDevice instancesRespondToSelector:@selector(userInterfaceIdiom)]
- && [[UIDevice currentDevice] userInterfaceIdiom] == UIUserInterfaceIdiomPad) {
- // on iPad, running as iPad
- } else {
- // either not in 3.2, or on an iPhone, or on iPad in iPhone compatability mode
- }
Add Comment
Please, Sign In to add comment