【问题标题】:iFrame in UIWebView loads the content of iframe inside the container UIWebViewUIWebView 中的 iFrame 加载容器 UIWebView 内 iframe 的内容
【发布时间】:2013-02-01 23:18:30
【问题描述】:

在 UIWebView 中打开这样的页面会导致 WebView 加载应该在 iframe 中加载的 URL.... 可以更改吗?即,WebView 是否可以“停留”在主页上,并在 iFrame 中加载其他页面?

主.HTML: (为简单起见缩短)

<html>
   Hello, see the content of the iframe below
   <iframe scr=iframe.html />
</html>

问题 - UIWebView 将加载 iframe.html,而不是 Main.Html,其中包含 iframe。

【问题讨论】:

    标签: iphone uiwebview


    【解决方案1】:

    也许你可以下载页面,然后用字符串输入 UIWebView?

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2012-01-13
      • 1970-01-01
      • 2012-12-16
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2023-03-06
      相关资源
      最近更新 更多