Figuring if a link is clicked on a webView - iPhone
Posted
by Uygar
on Stack Overflow
See other posts from Stack Overflow
or by Uygar
Published on 2010-03-14T20:49:35Z
Indexed on
2010/03/14
20:55 UTC
Read the original article
Hit count: 584
Hi,
I am using a custom webview to show a tabbar when user touches on the webview. But when I clicked on a link in a webview, tabbar is shown for a little time and then page loads. I am using this custom webview to detect touch: http://github.com/psychs/iphone-samples/blob/b772b963f2acf18d478b41b44555992fcd8d4f31/WebViewTappingHack/Classes/PSWebView.m
Can I detect if a link clicked or not? Because a link stands on the webview, webview detects the touch and also it loads the page... I want to prevent it.
Thanks in advance.
© Stack Overflow or respective owner