ios获取不到版本号,安卓可以
plus.runtime.getProperty(plus.runtime.appid,function(inf){
alert(JSON.stringify(inf));//值为{}
wgtVer=inf.version;//值为undefined
$("#version-now").html("您當前app的版本為:"+wgtVer);
});

pazen
- 发布:2019-11-28 15:13
- 更新:2019-11-28 15:13
- 阅读:1146
ios plus.runtime.getProperty回调函数的值为空对象,获取不到版本号,版本号undefined
分类:5+ SDK
0 个回复