UIWebView returns error 204 even though file loads successfully
| Originator: | mwsuman | ||
| Number: | rdar://10161688 | Date Originated: | 21-Sep-2011 12:17 PM |
| Status: | Open | Resolved: | |
| Product: | iPad SDK | Product Version: | iOS 5 |
| Classification: | Other Bug | Reproducible: | Always |
Summary: When loading a video or audio file into a UIWebView, my delegate is being told that the load failed with an error. In reality, the file loads and plays just fine. Steps to Reproduce: 1. Run the project included with this bug. Expected Results: Delegate method gets called: - (void)webViewDidFinishLoad:(UIWebView *)aWebView Actual Results: Delegate method gets called: - (void)webView:(UIWebView *)aWebView didFailLoadWithError:(NSError *)error Regression: Can't tell for sure. I believe things were working fine in iOS 4. The googles tell me that this issue has been around for a while. Notes: I imagine this bug report will be dup'd, but I wanted to submit it anyways, since this shouldn't be happening.
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!