Using PhoneGap/Cordova on iOS with external URL

前端 未结 2 1501
你的背包
你的背包 2021-02-02 01:45

I want my phonegap/cordova app to load an external page and nothing local.

Now that i do that , however my plugins (javascript) dont work because they are called from th

2条回答
  •  梦谈多话
    2021-02-02 02:17

    window.loadURL = function(url){
        navigator.app.loadUrl(url, { openExternal:true });
        return false;
    }
    

    to use it in a tag eg

    open
    

提交回复
热议问题