---
title: "artwork(url:contentType:size:)"
framework: AVKit
role: symbol
role_heading: Type Method
platforms: [iOS 27.0+, iPadOS 27.0+, Mac Catalyst 27.0+]
path: "avkit/avplaybackuserinterfacecontentartwork/artwork(url:contenttype:size:)"
---

# artwork(url:contentType:size:)

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

## Declaration

```swift
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.
