Upravit

Sdílet prostřednictvím


UIImage.CGImage Property

Definition

The underlying image data. Read-only.

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

Property Value

Attributes

Remarks

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