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?