开发者

UIWebView loading errors

开发者 https://www.devze.com 2023-02-20 09:34 出处:网络
Whenever I load a page in a UIWebView i get this error in the console ImageIO: <ERROR> _CGImagePluginInitGIFmalformed GIF file (1005 x 767)

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..

0

精彩评论

暂无评论...
验证码 换一张
取 消