文章目录

备忘一下,怕忘了。

首先是通过cordova查看可以模拟的设备类型:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
    $ ./platforms/ios/cordova/lib/list-emulator-images 
iPhone-4s
iPhone-5
iPhone-5s
iPhone-6-Plus
iPhone-6
iPad-2
iPad-Retina
iPad-Air
Resizable-iPhone
Resizable-iPad
```




不过实际测试下来iPhone只有以下三种尺寸可用:




```bash
cordova emulate ios --target=\"iPhone-4s\"
cordova emulate ios --target=\"iPhone-6\"
cordova emulate ios --target=\"iPhone-6-Plus\"

以上。

♦ 本文固定连接:https://www.gsgundam.com/archive/2015-01-16-cordova-phonegap-specify-ios-emulator/

♦ 转载请注明:GSGundam 2015年01月16日发布于 GSGUNDAM砍柴工

♦ 本文版权归作者,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文链接。

♦ 原创不易,如果页面上有适合你的广告,不妨点击一下看看,支持作者。(广告来源:Google Adsense)

♦ 本文总阅读量