In my app I get images from a api that sometimes (It is very unlikely) the image come damage or have a .jpg extension but really is a png file. In android I dont have problems but in IOS the app freeze and in Xcode I get this error:
0x10049b814 <+220>: b 0x10049b898; Xli::JpegReader::initSource at JpegReader.cpp:44".
libc++abi.dylib: terminating with uncaught exception of type Xli::Exception: Xli::Exception
There is any way to solve this?
Thanks!