Whenever I load a page in a UIWebView i get this error in the console
ImageIO: <ERROR> _CGImagePluginInitGIFmalformed GIF file (1005 x 767)
It's logged several times, but doesn't seem to effect anything as the page loads as expected.
Here's the code that I'm using to load the page:
NSURLRequest *requestObj = [NS开发者_如何学编程URLRequest requestWithURL:url];
[webView loadRequest:requestObj];
[webView setDelegate:self];
Any ideas what this error means?
I think it's not to answer, as it comes from the deepest parts of CGImage. I have noticed this error myself several times in the simulator. As you have noticed, I can confirm that it doesn't do anything. Everything looks as expected.
You must check HTML file that you load.Post It! The snippet of code doesn't have error..
精彩评论