I'm working on an APP that consist of HTML and CSS using the Cordova framework. There is a button that should open a webpage. The problem is that it opens the webpage inside of the app instead of safari.
My knowledge of Objective C is extremely limited (none) so I was hoping there would be a solution using maybe Javascript.
I've looked all over the internet but couldn't find a non-Objective C solution.
The button is pretty straightforward: <a href="http://www.mywebsite.com/" target="_blank"><img src="img/button.jpg" alt="website"></a>
I thought target="_blank"
might do something for me but that (unsurprisingly) didn't work.