i am loading a image onto my uiwebview and when the user clicks the image i have a link which i want the user to be redirected to but i am not able to find any solution regarding it??
i tried to use
- (BOO开发者_JS百科L)webView:(UIWebView *)webView shouldStartLoadWithRequest
but it can only be for links and not for a image as when i touch the image nothing happens?? is there any other possible way??
Why don't you just wrap the image with a link tag in the HTML?
精彩评论