Reputation: 435
Is it possible to use the images added to Assets Catalog directly on interface builder? How is that done?
On UIImageView properties I can't see any option to reference any image on assets catalog.
Upvotes: 2
Views: 4520
Reputation: 3789
.xcassets
folderImages can then be referenced programmatically with UIImage *image = [UIImage imageNamed:@"some-image"]
, or via the image dropdown in IB/Storyboards.
Upvotes: 2
Reputation: 119041
All of the images in an asset catalog have a name. This name can be used in imageNamed:
and in IB.
Upvotes: 1