Invalid PNG Image file: iDOT doesn't point to valid IDAT chunk

前端 未结 6 1898
北海茫月
北海茫月 2021-02-13 22:22

I have some HTML content pages in an app and I\'m using a UIWebView to display them. Some of these pages have a PNG image in them that is generating the following message in th

6条回答
  •  情深已故
    2021-02-13 22:35

    Same problem here.
    1 - Close XCode;
    2 - Open the image in Photoshop;
    3 - Re-save ( replace the same image ) with 80% quality;
    4 - Open XCode, clean it CMD + SHIFT + K;
    5 - Build it in your device again;

    Very simple and work for me.
    And for you ?

提交回复
热议问题