let str ='http://www.dcloud.io/';
var NSURL = plus.ios.import('NSURL');
var url = NSURL.URLWithString(str);
var UIApplication = plus.ios.import('UIApplication');
var req = UIApplication.sharedApplication();
plus.ios.invoke(req, "openURL:", url);
plus.ios.deleteObject(NSURL);
plus.ios.deleteObject(UIApplication);
1 个回复
bianyuan456