Phonegap App : External URL don't open in InApp Browser of IOS

后端 未结 2 1774
再見小時候
再見小時候 2021-01-06 11:00

External URLs don\'t open in the system\'s browser in my PhoneGap IOS application. I\'m using PhoneGap Build 2.7.0.

Javascript:

window

2条回答
  •  情话喂你
    2021-01-06 11:55

    Javascript:

    myURL = encodeURI(myURL);
    window.open(myURL, '_blank', 'location=yes'); 
    

    Using of encodeURI method fix the above issue

自定义标题
段落格式
字体
字号
代码语言
提交回复
热议问题