This is perhaps a crazy question but I am looking to use a UIButton in an iOS app and when you click on it, it will in turn click a hyperlink on a webpage loaded in a hidden UIWebView.
The link can also be triggered by a javascript call I am just not sure if it’s possible from a UIButton to a UIWebView?
Thanks Aaron
You can call javascript inside your UIWebView from your UIButton click handler, directly calling your javascript function that handles the href click.
See Adding html to a ui web view at runtime in code, based on a switch