I need to include images in a static library. I created a bundle and inserted in my images, the problem is that it seems to work if I include the images directly in the bundle, but stops working if I put in a xcassets file.
I followed many guides and searched for a solution on this site. The most popular solution is to insert this line of code:
[UIImage imageNamed:@"MyBundle.bundle/imageName"]
but it seems not work for me
any ideas?
ios static-libraries nsbundle xcasset
shareeditflag
|
asked Oct 2 '14 at 10:30
Serluca
1,5851920
|
|