I know that, most likely, the answer is very obvious, but I looked everywhere on the Internet and I did not find anything. I use this method to find out if a user clicks on a WebView
-(BOOL)webView:(UIWebView *)webView shouldStartLoadWithRequest:(NSURLRequest *)request navigationType:(UIWebViewNavigationType)navigationType; {
I can assure you that it works.
What I want to do is to do different actions according to id
s
<a id="hello" href="..."><img src="..." /></a>
as soon as the delegate detects a "touch click" on img with the identifier "hello", I would do some custom things, for example [self callSomething];
Could you show me how to do this using sample code? thanks
Filoo source share