ios-universal-webview-boilerplate icon indicating copy to clipboard operation
ios-universal-webview-boilerplate copied to clipboard

Linking to a web page outside of the project opens in same webview

Open nabilfreeman opened this issue 10 years ago • 5 comments
trafficstars

This is a problem as there are no browser controls.

Ideal solution would be to instruct the webview to open non-local links or whatever in Safari... don't know how to do this yet.

nabilfreeman avatar Jun 21 '15 23:06 nabilfreeman

Probably would want to just check if the URL is external, then either use UIApplication.openURL or SFSafariViewController. Would you accept a PR that added a configurable way to use one of these two approaches?

jstart avatar Jun 22 '15 17:06 jstart

@jstart absolutely!

nabilfreeman avatar Aug 06 '15 04:08 nabilfreeman

Any news on this issue? Do external links, not on the defined domain, open in Safari yet?

PatrickBK avatar Dec 04 '15 12:12 PatrickBK

hey @PatrickBK, not yet! i don't have time to add it as my day job isn't currently iOS stuff.

If somebody would like to patch this, please feel free :grin: ( @jstart ? )

nabilfreeman avatar Mar 29 '16 23:03 nabilfreeman

Hi @nabilfreeman, I understand and thanks for putting it out there as is :-)

PatrickBK avatar Mar 30 '16 06:03 PatrickBK