问题描述
请注意:这是一个关于模拟的浏览器在iPhone上,而不是模拟整个设备的问题。我知道,iPhone的设备模拟是不可能在Windows上,如讨论。
Note: This is a question about simulating the Browser on the iPhone, not simulating the whole device. I know that iPhone-device simulation is not possible on Windows, as discussed at length here.
我有一个网站,看起来在iPhone上查看时很奇怪 - 它的一些CSS问题
I have a web site that looks really weird when viewed on an iPhone - its some sort of CSS issue.
当我查看的Windows Safari中的网站(或任何其他Windows浏览器的这个问题)不会发生同样的问题。
The same issue does not occur when I view the site in Safari for Windows (or any other Windows browser for that matter).
那么,请问有什么好的iPhone的浏览器在Windows上运行模拟器?即这呈现的iPhone浏览器做同样的方式一个网站。
So, are there any good iPhone Browser simulators that run on windows? I.e. that render a site in the same way that the iPhone browser does.
的奖励积分,如果有检查详细的CSS的一些方法,如镀铬的检查元素的开发功能。的
编辑:为好奇,我正在试图解决的问题呈现这里描述:http://stackoverflow.com/questions/3884444/css-background-image-rendering-differently-on-iphone
edit: for the curious, the rendering problem that I'm trying to solve is described here: http://stackoverflow.com/questions/3884444/css-background-image-rendering-differently-on-iphone
推荐答案
如果您在preferences成立了开发者菜单>高级用户可以模拟在Safari 5的iPhone用户代理。在Safari 5 WebKit引擎类似于iPhone的浏览器,这样大部分的HTML 5的东西的工作原理相同。作为奖励开发者选项卡允许您调试JavaScript和CSS的一些(而不是这么好支持)。
You can simulate the iPhone user agent in Safari 5 if you set up the Developers menu item in Preferences>Advanced. The webkit engine in Safari 5 is similar to iPhone's browser so most of the HTML 5 stuff works the same. As a bonus the Developer's tab allows you to debug JavaScript and some CSS (not so well supported).
这篇关于iPhone浏览器模拟器为Windows?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!