Contents

init(image:)

Initializes a media item artwork instance with a full-size image.

Declaration

convenience init(image: UIImage)

Parameters

  • image:

    The image to use to initialize the media item artwork instance.

Discussion

This method assumes that the crop rectangle of the image matches the bounds of the image, as defined by the image’s size in points. That is, this method assumes the image you supply is tightly cropped.