<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVKit",
  "identifier" : "/documentation/AVKit/AVPlaybackUserInterfaceContentArtwork/artwork(url:contentType:size:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "AVKit"
    ],
    "preciseIdentifier" : "c:objc(cs)AVPlaybackUserInterfaceContentArtwork(cm)artworkWithURL:contentType:size:"
  },
  "title" : "artwork(url:contentType:size:)"
}
-->

# artwork(url:contentType:size:)

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

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

## 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.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)