每次我导航到jQueryMobile页面时,Cordova应用程序都会启动移动safari
-
12-12-2019 - |
题
我的应用程序做了正确的事情,每次我遵循jQuery Mobile链接时都会导航到select页面,但当我在iPhone模拟器中运行时,它也会在Mobile Safari中启动该页面的副本。我敢肯定,我只是错过了一些配置设置。
这是我的mobileinit函数
$(document).bind('mobileinit', () ->
$.mobile.allowCrossDomainPages = true
)
我修改了 ExternalHosts
阵列在 Cordova.plist
将我的应用服务器的域名列入白名单。我错过了什么?
解决方案
我有同样的问题。这个解决方案工作正常。
http://moduscreate.com/opening-all-urls-with-phonegaps-childbrowser-plugin/
不隶属于 StackOverflow