You have there files supported by apple, and i can't see jp2. So my answer is: no, jp2 is not supported.
Using .jp2 images in an array
-
26-11-2021 - |
문제
I am using images in my app which need to have transparency. They are currently .png files, but converting them to .jp2 (JPEG 2000) reduces the file size considerably. I added them to the Xcode project, but they are not loading when I run the app. Does this mean Xcode/Objective C does not support .jp2 files?
해결책
다른 팁
Here you can find what images are supported by iOS UIImage. .jp2 format isn't on that list. So it's not supported.
제휴하지 않습니다 StackOverflow