On my Mac laptop, select the image and then choose Quick Actions ->Convert Image ->HEIF ->Convert to HEIF.
It has nothing to do with the size of the images. I tested three images (4kb, 40kb, 743kb), but none of them could be displayed.
"image information" :
When I use the following code, the value of img returns nil, but if loading PNG images, img return normal obj.
"""
UIImage *img = [UIImage imageNamed:@"***"];
"""
Post
Replies
Boosts
Views
Activity
Compile asset catalogs :
../actool
--output-format human-readable-text
--notices --warnings
--export-dependency-info /..._dependencies
--output-partial-info-plist /..._info.plist
--app-icon AppIcon
--accent-color AccentColor
--compress-pngs
--enable-on-demand-resources YES
--filter-for-thinning-device-configuration iPhone10,2
--filter-for-device-os-version 12.1.2
--development-region en
--target-device iphone
--target-device ipad
--minimum-deployment-target 12.0
--platform iphoneos
--compile ...
--filter-for-thinning-device-configuration iPhone10,2
--filter-for-device-os-version 12.1.2
it looks does not work.