在iOS里xcode中 默认不支持Upside Down(上下颠倒),可以选中其他的选项来控制app的适配
portrait(竖屏),Landscape Left(向左旋转),Landscape Right(向右旋转)
或者在config.xml文件里增加:
<preference name="orientation" value="portrait" />
ionic 会自己生成下面的代码,如果config.xml里没有的话,请自己加上
<platform name="android">
<allow-intent href="market:*" />
</platform>
<platform name="ios">
<allow-intent href="itms:*" />
<allow-intent href="itms-apps:*" />
<platform>