tags:

views:

26

answers:

1

I have seen this being done by the jailbreaking program, Spirit. I would just like to return simple information like the what kind of iDevice (like iPhone 3G, iPod touch 3G, iPad). Would this be very hard to do, or something kind of simple. (Such as: idevice_t *device; device->version)

+1  A: 

Look at the documentation for the UIDevice class. Among other info, it provides model info (iPod/iPhone/iPad, though not specific models) and the OS version.

Ole Begemann