Please do not post the same thing multiple times. The board software automatically flags certain posts as needing moderator attention. This happens the most often for new users. I'm pretty sure this is made clear at the time you attempt to post. Posting the same thing over and over again just makes that many more posts the moderators have to weed through later. This makes us sad. Don't make us sad. If your post/thread doesn't appear, just wait a while. Don't post it again. If it hasn't shown up by the next day, then you can try again. I normally go through posts in the mornings, and try to check a few times throughout the day, but I'm not here 24/7. There will typically be a significant delay before posts are approved. Just be patient.
UIWebView - didFailLoadWithError - How to get the error's code list
Go to the docs for NSError. Then scroll down to the docs for the 'userInfo' method. Just below that is a list of constants used for extracting info about the error. One of those should give you what you want.
Replies
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Disagree Dislike Like Awesomeerror.localizedDescription gives below description:
UIWebView error:
Operation could not be completed.
NSURLErrorDomain error -999
Marco Napoli
http://www.ourlovingmother.org
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Disagree Dislike Like Awesome- Spam
- Abuse
- Troll
0 • Off Topic Insightful Disagree Dislike Like AwesomeI had encountered this scenario...
Havent worked around it much yet but still found out this to be the reason, in my case.
iHoldMore - A very nice and addictive game...
Need a m
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Disagree Dislike Like AwesomeMarco Napoli
http://www.ourlovingmother.org
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Disagree Dislike Like Awesome- (void)webView:(UIWebView *)wv didFailLoadWithError:(NSError *)error {
if ([error code] != -999) {
//show error alert, etc.
}
}
i couldn't find anyway to make it not throw an error if the previous request hadn't finished loading.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Disagree Dislike Like AwesomeThis is exactly the fix that I had to use. It's hilarious that someone else did it, but sad that we have to code around the error -999...
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Disagree Dislike Like AwesomeI am only getting that error if I try to visit a PayPal site using a UIWebView, otherwise I haven't had any problems with UIWebView.
So this paypal site must be making the two requests before the first has completed?:
"This error may occur if an another request is made before the previous request of WebView is completed..."
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Disagree Dislike Like Awesome- Spam
- Abuse
- Troll
0 • Off Topic Insightful Disagree Dislike Like Awesome