0

we found a bug in our program. To identifier the device model, we use this code. This work well, but the problem is: how know when exist new device?

I found one solution in this site. But, there are same official place that show it?

Community
  • 1
  • 1
Rodrigo
  • 11,909
  • 23
  • 68
  • 101
  • This is the problem with identifying device models vs. checking for features. New devices will keep coming out, but if you focus on specific capabilities, you won't have to worry about this. – Brad Larson Aug 08 '11 at 21:57

1 Answers1

1

You need to just use the platform string (and don't translate that to the commercial device name). For example, use iPhone3,1 and not 'iPhone 4'. You can always keep a reference that people can use later, but in this way you are always protected with new device updates.

dtuckernet
  • 7,817
  • 5
  • 39
  • 54