简体   繁体   English

iPad 2和iPad 3网站测试

[英]iPad 2 and iPad 3 website testing

Is there a way in the Apple iOS Simulator to test a website on an iPad 2 and an iPad 3? Apple iOS模拟器中有没有办法测试iPad 2和iPad 3上的网站? I have the latest version of xcode and iOS Simulator. 我有最新版本的xcode和iOS模拟器。 I believe the resolution difference on the devices are causing some issues for a site, which I'd like to debug. 我相信设备上的分辨率差异会导致网站出现一些问题,我想调试一下。

If the iOS Simulator does not offer an option, is there any other way of testing on these devices without actually owning both? 如果iOS模拟器没有提供选项,那么在没有实际拥有这两种设备的情况下,是否还有其他方法可以测试这些设备?

You don't switch between iPad2 & iPad3 with the simulator. 您不能使用模拟器在iPad2和iPad3之间切换。 Your options with the simulator is to: 您对模拟器的选择是:

  • change between non-retina and retina resolutions and 非视网膜和视网膜分辨率之间的变化
  • iOS versions. iOS版本。

If you're debugging resolution issues, note on the Hardware menu, you can select between iPad and iPad retina. 如果您正在调试分辨率问题,请在硬件菜单上注明,您可以在iPad和iPad视网膜之间进行选择。

在此输入图像描述

You can also go to XCode preferences, Download and download older iOS simulators. 您还可以转到XCode首选项,下载和下载旧的iOS模拟器。

在此输入图像描述

Outside of that, your options are to get your hands on actual devices which is the ultimate way to test what will really happen :) 除此之外,您的选择是获取实际设备,这是测试真正发生的事情的最终方式:)

我想,这人能帮你,尝试

No, the iOS simulator doesn't really work that way. 不,iOS模拟器并没有真正起作用。

You can choose the iOS version (iOS6 only now, depending if you have the newest version of XCode), but not the device version (2 vs 3). 您可以选择iOS版本(仅限iOS6,具体取决于您是否拥有最新版本的XCode),而不是设备版本(2 vs 3)。

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

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