UIImage.CGImage Property


The underlying image data. Read-only.

[get: Foundation.Export("CGImage")]
public virtual CoreGraphics.CGImage CGImage { get; }
member this.CGImage : CoreGraphics.CGImage

Property Value



This property may be null if the UIImage object was initialized with a CIImage object. If the underlying image data was purged, then accessing this property will force the underlying image to be reloaded from the source.

This can be used from a background thread.

Applies to