views:

398

answers:

1

Now I'm developing UIWebView based iPhone app. It is important to be sure that all requests are executing properly. To handle possible errors I'n using webView:didFailLoadWithError: message from UIWebViewDelegate protocol.

Where I can find the list of the error codes this control may return?

A: 

Bear in mind you're never going to find an exhaustive list. Apple is free to add new items whenever they want.

So in which case do you really want to be working as your question suggests? Would it not be better to assume every reported error is a failure, and that you can whitelist some of those error codes to do something else special if desired.

Mike Abdullah
I don't interesting in the exhaustive list buy only in list of typical errors.What if internet connection not detected?What if page not found?
Pavel Yakimenko