谁能告诉我 WebView 类中 loadData() 和 loadDataWithBaseURL() 之间的区别。
当我web.loadDataWithBaseURL("",html, mimetype, encoding,"");
在我的程序中使用时,其中 html 是包含硬编码 html 标签的字符串,它的显示就像 html 页面一样,当我在代码中使用 loadData(html,mimetype,encoding) 时,应用程序正在关闭。
我阅读了 API 但无法理解......所以请帮助我......
提前致谢
灰