Instance Property


The underlying Quartz image data.


var cgImage: CGImage? { get }


If the image data has been purged because of memory constraints, invoking this method forces that data to be loaded back into memory. Reloading the image data may incur a performance penalty.

If the UIImage object was initialized using a CIImage object, the value of the property is NULL.

See Also

Getting the Image Data

var ciImage: CIImage?

The underlying Core Image data.

var images: [UIImage]?

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

var imageAsset: UIImageAsset?

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