I am trying to get a function to be called when a phone number is tapped on my UIWebView but this seems a little tricky.
The link is pretty straightforward, it looks like <a href="tel:23231343">23231343</a>
So All I need to do is simply emit an ajax
to googleAnalytics so I can tell a phone call was placed. (I know it might not be actually placed, if the user declines, but I'd like to get the ajax nonetheless)
I was expecting to receive a call in the callback: webView:shouldStartLoadWithRequest:navigationType
, but it doesn't fire.