cgImage(options:)
Returns a full resolution CGImage of the representation.
Declaration
func cgImage(options: [AnyHashable : Any]! = [:]) -> Unmanaged<CGImage>!Parameters
- options:
A dictionary of options as described for Cgimagesourcecreatewithdata(_:_:) or Cgimagesourcecreatewithurl(_:_:).
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.