Contents

cgImage(options:)

Returns a full resolution CGImage of the representation.

Declaration

func cgImage(options: [AnyHashable : Any]! = [:]) -> Unmanaged<CGImage>!

Parameters

Return Value

A full resolution CGImage of the representation.

Discussion

This method provides a convenient way to obtain a CGImage representation of an asset. This method returns the biggest, best representation available.

See Also

Getting Image Representations