Phonegap iFrame空白iOS
我在config.xml中使用iOS上的phonegap 2.6,我有以下内容:Phonegap iFrame空白iOS,ios,cordova,jquery-mobile,iframe,Ios,Cordova,Jquery Mobile,Iframe,我在config.xml中使用iOS上的phonegap 2.6,我有以下内容: <access origin="*" subdomains="true" /> 但是当我使用iframe来显示google.com进行测试时,它只显示一个空的iframe <iframe width="300px" height="400px" frameborder="1" src="http://google.com"></iframe> 我使用iPhone 5、
<access origin="*" subdomains="true" />
但是当我使用iframe来显示google.com进行测试时,它只显示一个空的iframe
<iframe width="300px" height="400px" frameborder="1" src="http://google.com"></iframe>
我使用iPhone 5、iOS 6.1.3、Phonegap 2.6和Jquery Mobile有什么想法吗?使用其他URL,因为google不会在iFrame中打开。写入您的config.xml
<allow-navigation href="http://*.website.com" />
这对我很有用。我可以让iframe显示本地页面,而不是外部页面。如果遇到同样的问题,请参阅我的帖子: