禁止手机app横竖屏幕转换,只需在根目录下的 config.xml
中添加如下内容
<preference name="orientation" value="portrait" />
可使用的值有:default 默认转屏, landscape横向, portait 纵向
禁止手机app横竖屏幕转换,只需在根目录下的 config.xml
中添加如下内容
<preference name="orientation" value="portrait" />
可使用的值有:default 默认转屏, landscape横向, portait 纵向
转载于:https://www.cnblogs.com/opcec/p/9811276.html