10

I am having a problem with XCAssets. I created a custom XCAssets file with icons inside. I get the image from the file like this:

[UIImage imageNamed:@"deniedOverlay"];

So, now the problem. The files aren't copied to the .app file, so I get blank images. XCAssets file is added to "Copy Bundle Resources". I can't fix this problem myself.

Thanks!

iYoung
  • 3,596
  • 3
  • 32
  • 59
David Gölzhäuser
  • 3,525
  • 8
  • 50
  • 98
  • Did you add the xcassets catalog to the correct target? – user1459524 May 03 '14 at 13:24
  • I have this issue as well in Xcode 7 beta creating a loadable bundle. The `actool` displays no errors and appears to attempt to compile the `.xcassets` file directly into the build directory. However nothing appears and no errors are generated. – Droppy Jun 11 '15 at 12:41

1 Answers1

0

You can visit this link it might help you in using xcassets.

How to use Image.xcassets

Sorry for not providing audio in the video. But it might help you in solving you problem.

iYoung
  • 3,596
  • 3
  • 32
  • 59
Dhaivat Vyas
  • 2,926
  • 1
  • 16
  • 26