如何在WebView中打开target = _blank链接

时间:2019-02-27 08:55:58

标签: android android-webview href

我的android应用包含WebView。其中一页包含 iframe ,其中包含
  target ='_ blank'的“标签”。有什么方法可以在我的WebView而不是外部浏览器中打开该链接?

我尝试在 shouldOverrideUrlLoading shouldInterceptRequest 方法中单击“ tag”并失败。

0 个答案:

没有答案
相关问题