iOS模拟器在Mac上测试网站 [英] iOS Simulator to test website on Mac

查看:118
本文介绍了iOS模拟器在Mac上测试网站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要在Mac上的iOS设备上测试我的网站。

I need to test my site on an iOS device from a Mac.

是否有桌面模拟器可以执行此操作?

Is there a desktop simulator available to do this?

推荐答案

您可以使用iOS模拟器执行此操作。您需要在Safari上启用开发者模式(首选项 - >高级)。

You can use the iOS simulator to do this. You need to enable "Developer Mode" on Safari (Preferences -> Advanced).

然后在iOS模拟器中打开要调试的网站。回到safari,在Develop下你会看到模拟器和Safari在safari上打开。

Then open the website you want to debug in the iOS simulator. Go back to safari and under Develop you will see the simulator and the tabs open on safari.

如果你想测试一个实际的设备,那么只需将它插入你的计算机它也应该显示在那里。

If you want to test an actual device, then just plug it into your computer and it should show there too.

我就是这样做的。

这篇关于iOS模拟器在Mac上测试网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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