قالب وردپرس درنا توس
Home / IOS Development / App crash download from App Store in iOS 9: iOSProgramming

App crash download from App Store in iOS 9: iOSProgramming



Recently I found our app crash so many times in IOS 9 (download from the App Store). But if I run the project directly on the iPhone, it works without any crash. It's very troublesome. I found the answer from the internet. They told me because I use "p3" image in my project. After using the way they told me, I found everything in my project. It is true that I had a "p3" image. Here is the way to find the picture in the project. But I still confuse how to change my picture to the correct format. How do you do it in Photoshop or other software? Thanks so much. 😊

I'm already trying to change the picture from 1

6Bits to 8Bits. But it doesn't work. I can still find "p3" in Assets.json. (Photoshop -> image -> mode -> 8 bit / channel)

Here the imaging information can cause crash iOS 9.

  {
"AssetType": "Image",
"BitsPerComponent": 8,
"ColorModel": "RGB",
"Colorspace": "srgb",
"Compression": "lzvn", // 🌵
"DisplayGamut": "P3", // 🌵
"Coding": "ARGB",
"Idiom": "universal",
"Image Type": "kCoreThemeOnePartScale",
"Name": "SGQRCodeFlashlightOpenImage",
"Opaque": false,
"PixelHeight": 100,
"PixelWidth": 100,
"RenditionName": "SGQRCodeFlashlightOpenImage@2x.png",
"Scale": 2,
"SizeOnDisk": 3272,
"Template Mode": "Automatic"
}

Here, the fabric information works correctly

  {
"AssetType": "Image",
"BitsPerComponent": 8,
"ColorModel": "RGB",
"Colorspace": "srgb",
"Compression": "rle",
"Coding": "ARGB",
"Idiom": "universal",
"Image Type": "kCoreThemeOnePartScale",
"Name": "rightArrow",
"Opaque": false,
"PixelHeight": 36,
"PixelWidth": 22,
"RenditionName": "rightArrow@2x.png",
"Scale": 2,
"SizeOnDisk": 1964,
"Template Mode": "Automatic"
}

Source link