Instance Property

CGImage

The underlying Quartz image data.

Declaration

@property(nonatomic, readonly) CGImageRef CGImage;

Discussion

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

- 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.

imageAsset

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