var url ='http://www.sina.com/xdfk/201706/t20170605_77468.shtml';
var mainWv = plus.webview.currentWebview();
mainWv.loadURL(url);
mainWv.scalable = true;
html 上已设置user-scalable=yes
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=yes" />
2 个回复
2***@qq.com
我设置手动缩放的可以,但是iphone的不行
2***@qq.com
弄好了
embed=plus.webview.create('url','id',{top: '45px',bottom:'0',position:'dock',dock:'bottom',bounce:'vertical',scalable:true});
scalable:true 这个设置是否可缩放