setProgress(_:animated:)
Adjusts the current progress of the progress view, optionally animating the change.
Declaration
func setProgress(_ progress: Float, animated: Bool)Parameters
Discussion
The current progress is represented by a floating-point value between 0.0 and 1.0, inclusive, where 1.0 indicates the completion of the task. The default value is 0.0. Values less than 0.0 and greater than 1.0 are pinned to those limits.