Contents

progress

A value that indicates how much of the file has been downloaded.

Declaration

var progress: Float { get }

Mentioned in

Discussion

The value of this property is a floating point number between 0.0 and 1.0, inclusive, where 0.0 means no data has been download and 1.0 means all the data has been downloaded. Typically, your app uses the value of this property to update a user interface element, such as a progress bar, that displays how much of the file has been downloaded.

Do not use the value of this property to determine whether the download has completed. Instead, use the downloadState property.

See Also

Getting State Information