如何获取webview的id?
情况是这样的,启动加载的第一个页面index.html,没有设置id,url等,如何在其它页面获取index.html页面的webview?
或者告知如何为一个页面设置id,应用启动时设置的哪个页面的id?
方法如下:
获取首页id plus.runtime.appid;
首页webview plus.webview.getLaunchWebview();
![纯牛奶645](http://img-cdn-tc.dcloud.net.cn/uploads/avatar/000/23/05/47_avatar_mid.jpg?v=0)
纯牛奶645
- 发布:2016-12-13 16:04
- 更新:2016-12-13 16:04
- 阅读:3503
0 个评论
要回复文章请先登录或注册