Làm cách nào để bạn mở các liên kết trong trình duyệt gốc của thiết bị khi sử dụng Cordova 3.0 trên iOS?Cordova 3.0 - Mở liên kết trong trình duyệt bên ngoài trong iOS
Mọi người đã đề xuất sử dụng window.open(url, "_system")
nhưng điều này không hoạt động trong Cordova 3.0.
Nỗ lực của tôi
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
Có ai biết một giải pháp mà làm việc với Cordova 3,0?
Cảm ơn
Kiểm tra 2.015 câu trả lời của tôi ở đây để mở '_self' trong WebView, và '_blank' ở bên ngoài trình duyệt: http://stackoverflow.com/questions/32208609/cordova-why-would-inappbrowser-plugin-be-required-to-open-links-in-system-brows/32227524 –