• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
UIWebView: Unexpected NSURLErrorCancelled
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

UIWebView: Unexpected NSURLErrorCancelled


  • Subject: UIWebView: Unexpected NSURLErrorCancelled
  • From: Phillip Mills <email@hidden>
  • Date: Tue, 26 Apr 2011 07:37:26 -0400

I'm trying to debug something in an iPad app with very limited information and hoping that the symptoms will ring a bell with someone.  This is based on a report from one user and is nothing I've been able to reproduce.

I have a  UIViewController subclass that shows a UIWebView and is also its delegate.  At a certain point, this controller is presented full-screen modal, does some setup, and invokes loadRequest: for its UIWebView.  The URL always points to a local file.  There's nowhere in the code that allows the user to stop the load or to load anything else while the first load is taking place.

The program, however, is getting a callback at webView:didFailLoadWithError: with the -999 error code.  I'm told that it doesn't always happen and there seems to be no clear pattern (so far).  The user suspects that the behaviour may have started with her most recent upgrade of iOS.

 I haven't found any documentation that describes a situation that returns this error and which could match these conditions.  Or, if I have, I didn't understand it.  :-)

Suggestions?


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: UIWebView: Unexpected NSURLErrorCancelled
      • From: Jeff Johnson <email@hidden>
  • Prev by Date: UI refresh in background thread while [NSTask waitUntilExit]
  • Next by Date: Re: UIWebView: Unexpected NSURLErrorCancelled
  • Previous by thread: Re: UI refresh in background thread while [NSTask waitUntilExit]
  • Next by thread: Re: UIWebView: Unexpected NSURLErrorCancelled
  • Index(es):
    • Date
    • Thread