2013-02-01 172 views
2

在UIWebView中打开这样的页面会导致WebView加载应该在iframe中加载的URL ...可以更改这个值吗?即,WebView可以“保持”在主页面上,并将其他页面加载到iFrame中?UIWebView中的iFrame在容器内加载iframe的内容UIWebView

main.html中: (缩短为简单起见)

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

问题 - 的UIWebView将加载Iframe.html的,rathern比main.html中与它里面的iframe中。

回答

0

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