0

Possible Duplicate:
iPad 2 detection

So the new Xcode version was released with support for iOS 5.1 and the new retina iPad.

I was wondering how you can write code to tell which device it is, maybe something similar to [[UIDevice currentDevice] userInterfaceIdiom] == UIUserInterfaceIdiomPhone, so that we can customize our code and designs based on the resolution available.

Also, what would be the best way to test how your app would look in an iPad 3 resolution if you don't own an iPad 3?

Thanks

Community
  • 1
  • 1
user339946
  • 5,961
  • 9
  • 52
  • 97

0 Answers0