After the UIWebView catchs an error through didLoadWithErrors, how do I then get it to retry and rerun through its delegate methods.
I tried using
[webView reload]
However it does no rerun through the delegate methods and so I do not know weather the reload has been successful or not.
Can anyone tell me how to do this??
The reload method reloads the current page – if there is no page, because you haven’t successfully loaded one, there is nothing to reload.
You can “reload” the page as you meant by sending the last request again with the -loadRequest: message.
If the UIWebView fails again you should log the localized description of the error (to check whether there is e.g. no connection or a problem in your app) and send a UIAlertView to inform the user about the error.
And my advice: For a better user interface just tell the error details if you think the user will understand them (like “No Connection to the internet”) but don’t send cryptic messages like “Unknown Error 2525:Wfo3” – instead just tell the user that an error occurred.