You can use the [UIDevice currentDevice]
class method. This will give you information about the device like systemName
, systemVersion
, model
, etc.
If you need to get the screen dimensions instead, you could use the [UIScreen mainScreen]
class method. With it you could get the applicationFrame
or the screen bounds
.
Hope this helps!