<!--
{
  "availability" : [
    "iOS: 16.1.0 -",
    "iPadOS: 16.1.0 -",
    "macCatalyst: 16.1.0 -",
    "macOS: 13.0.0 -",
    "tvOS: 18.4.0 -",
    "visionOS: 2.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "BackgroundAssets",
  "identifier" : "/documentation/BackgroundAssets/BADownloadManagerDelegate/download(_:finishedWithFileURL:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Background Assets"
    ],
    "preciseIdentifier" : "c:objc(pl)BADownloadManagerDelegate(im)download:finishedWithFileURL:"
  },
  "title" : "download(_:finishedWithFileURL:)"
}
-->

# download(_:finishedWithFileURL:)

Informs the delegate about a finished asset download and provides the on-disk location.

```
optional func download(_ download: BADownload, finishedWithFileURL fileURL: URL)
```

## Parameters

`download`

The finished asset download.

`fileURL`

The URL to the downloaded asset’s location in the associated App Group.

## Discussion

Prefer to access downloaded assets in-place, rather than moving or copying them. This enables the system to include those assets when evaluating which files it can safely delete when a person’s device is running low on disk space.

---

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)