Instance Property

contentURL

The local location of the downloaded file.

Declaration

var contentURL: URL? { get }

Discussion

The value of this property is valid only when the downloadState property is set to SKDownloadState.finished. The URL becomes invalid after the transaction object associated with the download is finalized.

See Also

Accessing a Completed Download

var error: Error?

The error that prevented the content from being downloaded.