在 iOS 上使用 Cordova 3.0 时如何在设备本机浏览器中打开链接?
人们建议使用window.open( url, "_system" )
,但这在 Cordova 3.0 中不起作用。
我的尝试
if( navigator.app ) // Android
navigator.app.loadUrl( url, {openExternal:true} )
else // iOS and others
window.open( url, "_system" ) // opens in the app, not in safari
有谁知道适用于 Cordova 3.0 的解决方案?
谢谢