Contents

image(at:)

Returns the artwork image for an item at the given size.

Declaration

func image(at size: CGSize) -> UIImage?
func image(at size: CGSize) -> NSImage?

Parameters

  • size:

    The size, in points, for the new Uiimage object.

Return Value

The artwork at the requested size.

Discussion

The returned image is the smallest available image that’s at least as large as the requested size.

See Also

Related Documentation

  • iPod Library Access Programming Guide

Using a media item image