我正在更新iOs 7的应用程序。我为cordova(电话间隙)开发了这个应用程序。当我运行这个应用程序时,我得到了错误:
FirstDemo[175] <Error>: ImageIO: PNG Not a PNG file
FirstDemo[175] <Error>: ImageIO: PNG Not a PNG file
FirstDemo[175] <Error>: ImageIO: PNG Not a PNG file
FirstDemo[175] <Error>: ImageIO: PNG Not a PNG file
FirstDemo[175] <Error>: ImageIO: PNG Not a PNG file
FirstDemo[175] <Error>: ImageIO: PNG Not a PNG file
FirstDemo[175:500b] *** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[WebCoreSharedBufferData getBytes:range:]: range {0, 8} exceeds data length 0'
*** First throw call stack:
(0x30875f4b 0x3af476af 0x30875e8d 0x311b0a91 0x307ce9a5 0x315afe47 0x315afd21 0x316f49ab 0x315afc75 0x315af8f9 0x315b80f5 0x315b771f 0x308fd45d 0x32c976b5 0x32c96b5f 0x32c82a91 0x32c825d5 0x32c7f371 0x32c7da71 0x3b431273 0x3b43106b 0x3b431ce1 0x3b431f59 0x3b56cdbf 0x3b56cc84)
libc++abi.dylib: terminating with uncaught exception of type NSException
我在任何地方都找不到任何解决办法。有人能帮我吗?
Oops,只是在意识到kcbanner的注释后更新了它。
你见过/试过吗:iOS 7是否改变了PNG兼容性/处理方式?