2

Is it possible to get the model information of an iPhone hitting a web page? I've looked at the User Agent, but it doesn't seem to have this information encoded within it. Essentially, I want to do this but from a browser.

Community
  • 1
  • 1
Lee
  • 18,529
  • 6
  • 58
  • 60

1 Answers1

0

They do have different user agent strings. iPhone 4 is

Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_0 like Mac OS X; en-us) AppleWebKit/532.9 (KHTML, like Gecko) Version/4.0.5 Mobile/8A293 Safari/6531.22.7

You can find the complete list here: http://www.zytrax.com/tech/web/mobile_ids.html

Jim
  • 1,695
  • 2
  • 23
  • 42