i'm working on a class to give me exactly what you're looking for. not sure when i'll get around to finishing it but i'm basically taking information from UIDevice and then testing individual hardware functions to determine the device... such as if video or compass capabilities exist then it must be a 3gs, if gps exists it must be at least a 3g or 3gs, if camera exists it must be an iphone, 3g or 3gs etc..
Good luck.. i'll post my class when done.. but in the mean time something like this shouldnt take you long to build.. and in the process you'll learn some things along the way.
John
__________________
----------------------------------------------------------------------
I love being a dad, flying airplanes and writing code.
----------------------------------------------------------------------
Follow me on Twitter: @BostonMerlin
Feed your brain on Twitter: @iPhoneDev101
----------------------------------------------------------------------
iPhone Apps:
|