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
Post a Comment