The above TWO answers were CORRECT> Just return if the download request causes a cancellation.
I also want to note that people do NOT forget to put the NSLog in your didFailLoadWithError method, this can prevent you from wasting a lot of time finding the problem right on!
So, here is the final solution with everything I mentioned above:
-(void)webView:(UIWebView *)webView didFailLoadWithError:(NSError *)error { NSLog(@"ERROR : %@",error);
Khayrattee Apr 23 '13 at 11:32 2013-04-23 11:32
source share