iPhone ShouldStartLoad fires once per click?

Posted by BahaiResearch.com on Stack Overflow See other posts from Stack Overflow or by BahaiResearch.com
Published on 2010-03-14T01:48:57Z Indexed on 2010/03/14 1:55 UTC
Read the original article Hit count: 248

Filed under:
|

In my UIWebView when an anchor is clicked I catch it in ShouldStartLoad and always return false to cancel it. (I treat the clicks as command to do things)

Strangely the ShouldStartLoad only fires once if the same anchor is clicked more than once in a row.

Eg: Click "A", Click "A" - ShouldStartLoad receives "A" once

Click "A", Click "B", Click "A" - ShouldStartLoad receives "A", then "B" then "A"

Is there a way to make ShouldStartLoad receive "A" twice when clicked twice in a row?

© Stack Overflow or respective owner

Related posts about iphone

Related posts about shouldstartload