Contents

imageAsset

The image asset (if any) for the image.

Declaration

var imageAsset: UIImageAsset? { get }

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