On Apr 26, 2011, at 6:37 AM, Phillip Mills wrote: > 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?
Hi Phillip. You can get this "error" when the page automatically redirects via Javascript. I would recommend just ignoring the error, treating it as a non-error condition. -Jeff _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com