IPhone 4S的用户代理字符串 [英] User Agent string for IPhone 4S

查看:134
本文介绍了IPhone 4S的用户代理字符串的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

由于WURFL用户代理数据库已商业化,因此浏览器用户代理似乎没有公共中央数据库。因为我没有自己的Iphone4,如果有人能回答我这个简单的问题和/或指向我的WURFL替代方案,那将是非常有帮助的。)

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 :)

那么 - 什么是iPhone 4s的User-Agent字符串?
是否与iPhone4版本有任何不同?

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

推荐答案

Apple用户代理不公开硬件版本,所以你只能通过操作系统版本猜测iPhone版本,例如,如果它运行的是iOS 5,它必须是iPhone 4或4S。事实上,甚至非常困难(也许是不可能的)区分iPhone 4和4S与本机应用程序

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.

无论如何,另一个答案是不正确的,UA必须来自iPhone 3,3GS或真的过时的iPhone 4,但它不能来自4S因为 iOS 5附带的4S 。以下是我今天看到的一系列iPhone 4 / 4S UA:

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

关于WURFL,我是ScientiaMobile(WURFL所有者)的首席运营官,我可以说自从我们成立以来,我们的数据都没有被删除。欢迎您在 ScientiaMobile WURFL Explorer 浏览我们的设备和用户代理。

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.

这篇关于IPhone 4S的用户代理字符串的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆