Phonegap只针对iPhone(而不是iPad)? [英] Phonegap targeting only iPhone (not iPad)?
本文介绍了Phonegap只针对iPhone(而不是iPad)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我如何使Phonegap Build只针对iPhone(而不是iPad)定位我的应用程式?可能吗?
How can I make Phonegap Build to target my app only for iPhone (not iPad)? Is it possible?
我没有使用XCode。这是一个用Phonegap构建的HTML5 / JS应用程序。
I'm not using XCode. It's an HTML5/JS app built with Phonegap.
推荐答案
我知道这是老的,但正确的答案不在这里;所以我添加它。我在这里有同样的问题,下面是你正在寻找的解决方案:
I know this is old, but the correct answer isn't here; so I'm adding it. I got here with the same problem and below is the solution you're looking for:
在你的config.xml:
In your config.xml:
<preference name="target-device" value="handset" />
这篇关于Phonegap只针对iPhone(而不是iPad)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文