I'm making an iOS app that gets content from a website. This website allows to vote for content through a JS script that is called when a link is clicked in the web page.
I would like to implement voting in my app without having to show the webpage to the user and asking im to click on vote.
I know it is possible to execute a javascript function of a UIWebView using
[myWebView stringByEvaluatingJavaScriptFromString:@"myJSFunction()"]
But loading a UIWebView is a bit long, specially since it's just to vote (should be fast), isn't there an easier way to just call for the JS function without requiring user interarction (except taping the vote button in the app, of course)
Thanks !