Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

User Agent string for IPhone 4S

Tags:

iphone

Since the WURFL User-Agent Database went commercial there seems to be no public central database for browser user agents. Since i do not own an Iphone4 mayself it would be really helpful if someone could answer me this easy question and/or point me to a WURFL alternative :)

So - what is the User-Agent string of the IPhone 4s? Is it any different from the IPhone4 version?

like image 937
light_303 Avatar asked Mar 03 '12 17:03

light_303


People also ask

What is the user agent for a mobile app?

The User-Agent tells the server what the visiting device is (among many other things) and this information can be used to determine what content to return. Of course this requires using a device detection solution which translates UAs into understandable software and hardware information.

What is User Agent in Java?

The user-agent header. As mentioned in our overview of HTTP requeset headers, the user-agent header specifies information about the browser or robot that made the request. Here are some examples of user-agent strings: 1. Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 1.0.3705) 2.


2 Answers

Apple User Agents do not expose the hardware version, so you can only guess the iPhone version by the OS version, for example, if it's running iOS 5, it must be an iPhone 4 or 4S. In fact, it's even very hard (perhaps impossible) to distinguish between iPhone 4 and 4S from native apps.

Anyway, the other answer is incorrect, that UA must be from an iPhone 3, 3GS or a really outdated iPhone 4, but it cannot be from a 4S because the 4S shipped with iOS 5. Here's a selection of iPhone 4/4S UAs I've seen today:

Mozilla/5.0 (iPhone; CPU iPhone OS 5_0_1 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko) Mobile/9A405
Mozilla/5.0 (iPhone; CPU iPhone OS 5_0_1 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko) Mobile/9A406
Mozilla/5.0 (iPhone; CPU iPhone OS 5_0_1 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko) Ver sion/5.1 Mobile/9A405 Safari/7534.48.3
Mozilla/5.0 (iPhone; CPU iPhone OS 5_0_1 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko) Version/5.1 Mobile/9A405 Safari/7534.48.3
Mozilla/5.0 (iPhone; CPU iPhone OS 5_0_1 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko) Version/5.1 Mobile/9A406 Safari/7534.48.3
Mozilla/5.0 (iPhone; CPU iPhone OS 5_0 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko) Mobile/9A334
Mozilla/5.0 (iPhone; CPU iPhone OS 5_0 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko) Version/5.1 Mobile/9A334 Safari/7534.48.3
Mozilla/5.0 (iPhone; CPU iPhone OS 5_1 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko) Version/5.1 Mobile/9B179 Safari/7534.48.3

With regards to WURFL, I am the COO of ScientiaMobile (WURFL owner), and I can say that no public access to our data has been removed since our formation. You are welcome to browse our devices and user agents at the ScientiaMobile WURFL Explorer.

like image 127
SteveK Avatar answered Sep 21 '22 13:09

SteveK


iphone:

Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_3_3 like Mac OS X; en-us) AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8J2 Safari/6533.18.5

ipod Touch:

Mozilla/5.0 (iPod; U; CPU iPhone OS 4_3_3 like Mac OS X; en-us) AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8J2 Safari/6533.18.5

i think the only difference is the software version of different phones

like image 32
Floris497 Avatar answered Sep 18 '22 13:09

Floris497