Check the userInterfaceIdiom property of the device to get the information you need:
As noted in the comments below, Apple provides a macro to accomplish the same task. Here is the full definition from the UIDevice.h header file:
Thanks for the heads up on this.
Thanks for the heads up on this.
0 Comments