GMsoF GMsoF - 1 year ago 94
Objective-C Question

To detect IOS device type

I have found the solutions from here:
Determine device (iPhone, iPod Touch) with iPhone SDK

From the link, it suggests to use the library https://gist.github.com/1323251

But obviously the library is quite outdated. I couldn't find the iPhone 5 and new iPad and etc in the list.

Does anyone know how can I find the completed and updated list?

Thank you so much.

Answer Source

Here's the updated version of https://gist.github.com/1323251 . I'll keep it updated when new devices are released.

https://github.com/froztbytes/UIDeviceHardware

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download