javascript - How to force to open link in Safari from WebApp in iOS? -


there link <a href="http://www.google.com">google</a> inside web page of uiwebview in app.how can force link opened safari when it's clicked?i've tried target="_blank" suggested, not work.does know that?

and how <form>, how can make redirect safari when it's submitted?

it's better approach through javascript, not javascript objective-c interaction.

you can try following :

<a href="#" onclick="window.open('http://www.google.com', '_system');">google</a> 

this works in phonegap.


Comments

Popular posts from this blog

c# - Binding a comma separated list to a List<int> in asp.net web api -

Delphi 7 and decode UTF-8 base64 -

html - Is there any way to exclude a single element from the style? (Bootstrap) -