<!--
{
  "availability" : [
    "iOS: 9.0.0 - 10.0.0",
    "iPadOS: 9.0.0 - 10.0.0",
    "macCatalyst: 13.1.0 - 13.1.0"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVAssetDownloadURLSession/makeAssetDownloadTask(asset:destinationURL:options:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:objc(cs)AVAssetDownloadURLSession(im)assetDownloadTaskWithURLAsset:destinationURL:options:"
  },
  "title" : "makeAssetDownloadTask(asset:destinationURL:options:)"
}
-->

# makeAssetDownloadTask(asset:destinationURL:options:)

Creates a download task to download the asset to the indicated location.

```
func makeAssetDownloadTask(asset URLAsset: AVURLAsset, destinationURL: URL, options: [String : Any]? = nil) -> AVAssetDownloadTask?
```

## Parameters

`URLAsset`

The asset to download to the local device.

`destinationURL`

The local file URL to download the asset to.

`options`

Configures non-default behavior for the download task. To download nondefault media selections, you must indicate download options.

## Return Value

A new download task.

## Topics

### Download option keys

[`AVAssetDownloadTaskMinimumRequiredMediaBitrateKey`](/documentation/AVFoundation/AVAssetDownloadTaskMinimumRequiredMediaBitrateKey)

A key that indicates the minimum bit rate of the variant to download.

[`AVAssetDownloadTaskMinimumRequiredPresentationSizeKey`](/documentation/AVFoundation/AVAssetDownloadTaskMinimumRequiredPresentationSizeKey)

A key that indicates the minimum presentation size of the variant to download.

[`AVAssetDownloadTaskMediaSelectionKey`](/documentation/AVFoundation/AVAssetDownloadTaskMediaSelectionKey)

A key that indicates which media selection to download.

[`AVAssetDownloadTaskMediaSelectionPrefersMultichannelKey`](/documentation/AVFoundation/AVAssetDownloadTaskMediaSelectionPrefersMultichannelKey)

A key that indicates whether the task downloads media selections with support for multichannel playback, when available.

[`AVAssetDownloadTaskPrefersHDRKey`](/documentation/AVFoundation/AVAssetDownloadTaskPrefersHDRKey)

A key that indicates whether the task downloads HDR instead of SDR video, when available.

[`AVAssetDownloadTaskPrefersLosslessAudioKey`](/documentation/AVFoundation/AVAssetDownloadTaskPrefersLosslessAudioKey)

A key that indicates whether the task downloads media selections in lossless audio format, when available.



---

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)