UIWebViewNavigationTypeLinkClicked event not getting fired for certain links

Posted by userlite on Stack Overflow See other posts from Stack Overflow or by userlite
Published on 2010-05-31T02:06:51Z Indexed on 2010/05/31 2:12 UTC
Read the original article Hit count: 370

Filed under:
|

Hi,

I am using a UIWebView as an embedded browser within my iphone app. I am using the shouldStartLoadWithRequest function to handle UIWebViewNavigationTypeLinkClicked events for links clicked by a user. It is working as expected for a number of sites, but not for all.

For example: when I click on any of the links on website http://www.foxnews.mobi, the UIWebViewNavigationTypeLinkClicked event is not getting fired. Same thing happens for some other sites.

I read somewhere that links with blank target do not fire the event, however this is not the cause of the problem in my case.

Any help is appreciated. Thanks.

© Stack Overflow or respective owner

Related posts about iphone

Related posts about uiwebview