简体   繁体   English

iPad上的iPhone Safari测试?

[英]iPhone Safari testing on iPad?

I am a web developer, and I have an iPad. 我是一名网络开发人员,我有一台iPad。 I'd like to be able to see how my websites look on an iPhone too (from my iPad). 我希望能够看到我的网站在iPhone上的外观(来自我的iPad)。 Is there an app that allows me to do this? 有没有允许我这样做的应用程序? For example, many iPhone apps, when installed on an iPad run in 320x480 resolution. 例如,许多iPhone应用程序,当安装在iPad上以320x480分辨率运行时。 The perfect solution would be to be able to install the iPhone version of Safari on my iPad, so I can run it in 320x480 web resolution. 完美的解决方案是能够在我的iPad上安装iPhone版本的Safari,因此我可以在320x480网络分辨率下运行它。 Is anything like this possible? 有可能这样吗?

Yes, I understand I can do this from a computer using an emulator, or use an iPod touch. 是的,我知道我可以使用模拟器在计算机上执行此操作,或使用iPod touch。 I understand there are workarounds, and my question isn't how to test my website for an iPhone...it's how to test it for an iPhone using an iPad. 我知道有解决方法,我的问题不是如何测试我的网站的iPhone ...它是如何使用iPad测试它的iPhone。 Thanks :) 谢谢 :)

This may not be the perfect solution, but there are iPhone-only browsers that will work on the iPad in iPhone -mode. 这可能不是完美的解决方案,但也有iPhone,只有浏览器,将在iPad在iPhone -mode工作。 For instance, the free Mango Browser works well, and seems to present the correct User Agent to sites, so you'll get a fairly good feel for what the experience will be like. 例如,免费的Mango浏览器运行良好,似乎向网站提供了正确的用户代理,因此您将对体验的体验有一个相当不错的感觉。 I just tested it on a few sites, and it renders the same as on my iPhone using Safari. 我刚刚在几个网站上测试过,它使用Safari在我的iPhone上呈现相同的效果。

I would pretty much say that on a non jail-broken iPad you cannot install Safari for iPhone; 我几乎可以说,在一个没有破坏的iPad上,你无法安装适用于iPhone的Safari; I can see no way, since installation is so much controlled by Apple. 我看不到任何办法,因为安装受到Apple的控制。

I have never tried that on a jail-broken iPad, though, but I think that it should be more likely feasible. 尽管如此,我从来没有在经过牢劫的iPad上尝试过这种方法,但我认为它应该更可行。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM