Html iphone os 使用的是什么版本的 safari?(截至 2009 年 12 月 14 日)
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/1902577/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
what version of safari is the iphone os using? (as of 12/14/2009)
提问by Neo42
What version of Safari is on the iphone now? Is it Safari 4? Safari 3? 2? Something in between? In other words, when I'm writing code for the iphone, which version of Safari for the pc/mac will be the most accurate version to test it with?
现在 iPhone 上的 Safari 是什么版本?是 Safari 4 吗?Safari 3?2?介于两者之间?换句话说,当我为 iphone 编写代码时,用于 pc/mac 的哪个版本的 Safari 将是最准确的测试版本?
I think I've already run into a case where the canvas tag is handled differently on the iphone than it is in safari 4. (specifically the fillText javascript cmd doesn't seem to work).
我想我已经遇到过这样一种情况,iphone 上的 canvas 标签的处理方式与 safari 4 中的处理方式不同。(特别是 fillText javascript cmd 似乎不起作用)。
回答by johnnyArt
Point your iPhone here, the link provided by Neil doesn't seem to be working for me. Link
将您的 iPhone 指向此处,Neil 提供的链接似乎对我不起作用。 关联
Update. I accessed the website with my itouch and this is the response:
更新。我用 itouch 访问了该网站,这是响应:
User Agent: Mozilla/5.0 (ipod: U;CPU iPhone OS 2_2 like Mac OS X: es_es) AppleWebKit/525.18.1
Browser Name/Version: M_webkit/3.1.1
So I'm assuming it's safari 3.1.1
所以我假设它是 safari 3.1.1
回答by Tim Acheson
You can check the version of Safari or any web browser on an iPhone/iPad, quickly and easily, by entering one short script into the address bar.
通过在地址栏中输入一个简短的脚本,您可以快速轻松地检查 iPhone/iPad 上 Safari 或任何网络浏览器的版本。
Follow my simple instructions here: http://twitter.com/timacheson/status/29580118976
在这里按照我的简单说明进行操作:http: //twitter.com/timacheson/status/29580118976
回答by jacob justin
You can visit https://spiderip.comto check the brower useragent and version
您可以访问https://spiderip.com查看浏览器用户代理和版本
回答by Rohan Khude
Just do google as "show user agent"
只需将谷歌作为“显示用户代理”
https://www.google.co.in/search?q=show+user+agent
https://www.google.co.in/search?q=show+user+agent
Output
输出
it shows my browser version firefox 54.0
它显示了我的浏览器版本firefox 54.0
回答by Neil N
point your iPhone here to see the browser tag:
将您的 iPhone 指向此处以查看浏览器标签:
回答by Niels Castle
You should test your project with the iPhone simulator and on the actual devices you are preparing to deploy to.
您应该使用 iPhone 模拟器并在您准备部署到的实际设备上测试您的项目。
As you mentioned, testing on a different platform is a guaranteed headache.
正如您所提到的,在不同平台上进行测试肯定会令人头疼。