Software Archive
Read-only legacy content
17061 Discussions

iOS can't open url in device browser

Arthur_T_
New Contributor I
341 Views

using js: window.open('http://someurl') can't open the url in iOS device browser, the web page just open inside app's web viewer. As there is no 'back' on the web page, so can't access the app again. Need to exit the app and remove it from background. But same js can open the url with android device browser

env: XDK v3641, iOS 10.1.1

0 Kudos
2 Replies
PaulF_IntelCorp
Employee
341 Views

Use the inAppBrowser plugin. Please read the documentation page for that plugin to see how to use it. DO NOT use the window.open() technique, it will not give you access to the options you need to do what you need to do.

0 Kudos
Arthur_T_
New Contributor I
341 Views

Thanks, it works.

0 Kudos
Reply