0

Possible Duplicate:
Determine device (iPhone, iPod Touch) with iPhone SDK
Detect the specific iPhone/iPod touch model

If an app has some features which require high hardware performance which look only good on iPhone 4S and higher, how can I detect wether or not it is an iPhone 4?

I know it is not a good idea to detect models. but better to detect capabilities. How can I safely check that it's a device with a performance >= iPhone 4S?

Community
  • 1
  • 1
Proud Member
  • 38,700
  • 43
  • 143
  • 225
  • Since the hardware of iOS devices (probably) doesn't vary as much as e.g. browsers, it may be worth finding out the general wisdom on model detection vs feature detection for iOS programming. Model detection and blacklisting earlier models, may very well be appropriate. – StuperUser Oct 23 '12 at 12:21

1 Answers1

0

You want to check the device id, not the version of the iOS, refer to this answer.

Without using any libraries, you could also refer to this answer.

Community
  • 1
  • 1
David Raijmakers
  • 1,371
  • 1
  • 16
  • 38