Instance Property

imageAsset

Returns a reference to the image asset (if any) associated with the image.

Declaration

@property(nonatomic, readonly) UIImageAsset *imageAsset;

Discussion

For images loaded from an image assets, this property contains an image asset object that you can use to fetch the other variants of the image. If you did not create the image object using an image asset, the value of this property is nil. This property is always nil for images created using a CIImage object.

See Also

Getting the Image Data

CGImage

The underlying Quartz image data.

- CGImage

The underlying Quartz image data.

CIImage

The underlying Core Image data.

images

For an animated image, this property holds the complete array of UIImage objects that make up the animation.