Contents

artwork(url:contentType:size:)

Creates an artwork instance that references an image at the given URL.

Declaration

class func artwork(url: URL, contentType type: UTType, size: CGSize) -> AVInterfaceURLAlbumArtwork

Parameters

  • url:

    URL pointing to the artwork image resource.

  • type:

    The uniform type identifier for the image data.

  • size:

    The pixel dimensions of the artwork image.