开发者

problem while using tiff and gif format images with UIWebView

开发者 https://www.devze.com 2023-03-09 14:55 出处:网络
I have a web page using css and javascript and also this webpages have tiff and gif images.When i loaded this webpage locally in ipad it is not working as i can only 开发者_开发问答see white page and

I have a web page using css and javascript and also this webpages have tiff and gif images. When i loaded this webpage locally in ipad it is not working as i can only 开发者_开发问答see white page and not my images. But when i moved this folder to one of the server and when i tried to load this website remotely. I got this error: "_CGImagePluginInitGIFmalformed GIF file (1024 x 748)"

But It is working properly. So i was wondering if there is any problem using the tiff and gif images locally?


Is it possible that there's really a error in the GIF?

If you're able to open the GIF in an other application, try to re-save it. It will probably fix the malformation. If it doesn't work try to save it in an other format. (Try OS X's Preview, it's good for these kind of things...)


The problem was with the javascript files which i moved to the copy Bundle Resources from Compile Sources.

0

精彩评论

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

关注公众号