download(_:finishedWithFileURL:)
Informs the delegate about a finished asset download and provides the on-disk location.
Declaration
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.