Javascript iframe在PhoneGap中不工作
我试图在我的PhoneGap应用程序中显示网站的iframe,但在Xcode上模拟应用程序时它不会显示。当我在浏览器中以IP地址打开它时,它会显示,但当我实际模拟它时,iframe是空白的。我补充说Javascript iframe在PhoneGap中不工作,javascript,html,xcode,phonegap,Javascript,Html,Xcode,Phonegap,我试图在我的PhoneGap应用程序中显示网站的iframe,但在Xcode上模拟应用程序时它不会显示。当我在浏览器中以IP地址打开它时,它会显示,但当我实际模拟它时,iframe是空白的。我补充说 <allow-intent href="*" /> <allow-navigation href="*" /> <allow-navigation href="http://*/*" /> <allow-navigation href="https://*/
<allow-intent href="*" />
<allow-navigation href="*" />
<allow-navigation href="http://*/*" />
<allow-navigation href="https://*/*" />
<allow-navigation href="data:*" />
到我的config.xml文件,但它仍然不起作用。我是PhoneGap的新手,有人知道如何解决这个问题吗?看看这个
<access origin="*.google.*" />