I have several images stored in mine Images.xcassets, which I upload both through the code and in the Buider interface. However, the iOS 9 update broke everything: images are not displayed when loading from the code, nor in IB.
Everything works fine, except that the images no longer load.
Say I have an image with a name Imagein mine .xcassets. On iOS 8,
[UIImage imageNamed:@"Image"]
returned a valid pointer, but it returns nilon iOS 9. The same thing happens in Interface Builder: all UIImageViewthat are installed from IB are empty.
There are two exceptions: two small images (48x48) do load correctly. I noticed that both of them are compiled into Assets.car, all the rest are sitting like pngs and jpegs in the main directory ... But the configuration is the same as all the images.
This issue did not exist on iOS 8.
Any ideas?
source
share