UIImage Asset Catalog ImageNamed: was nil

I have 2 resource directories in my application. One of them is located in the source directory of my application and the other is related to my project and target membership.

When I load an image from Linked Assetscatalog using

[UIImage imageNamed:@"icon_close"];

      

The image was null

when I download an image from the asset directory in the Sourc directory it gets loaded

Can someone help me, I have no idea why the image is not loaded.

In older projects this will work fine, but when I create a project with Xcode 6 its dose doesn't work.

+3


source to share





All Articles