One Logo Pool Ball
SwiftUI · IOS API REFERENCE

ProgressViewStyleConfiguration

struct · iOS 14.0+ · SDK 27.1

struct ProgressViewStyleConfiguration

The properties of a progress view instance.

Members (5)

get · iOS 14.0+

currentValueLabel

TypeScript
get currentValueLabel(): (ProgressViewStyleConfiguration_CurrentValueLabel) | null
Swift declaration
var currentValueLabel: ProgressViewStyleConfiguration.CurrentValueLabel?

A view that describes the current value of a progress view. If `nil`, then the value of the progress view is either self-evident from the surrounding context or unknown, and the style does not need to provide any additional description. If the progress view is defined using a `Progress` instance, then this label is equivalent to its `localizedAdditionalDescription`.

set · iOS 14.0+

currentValueLabel

TypeScript
set currentValueLabel(value: (ProgressViewStyleConfiguration_CurrentValueLabel) | null)
Swift declaration
var currentValueLabel: ProgressViewStyleConfiguration.CurrentValueLabel?

A view that describes the current value of a progress view. If `nil`, then the value of the progress view is either self-evident from the surrounding context or unknown, and the style does not need to provide any additional description. If the progress view is defined using a `Progress` instance, then this label is equivalent to its `localizedAdditionalDescription`.

get · iOS 14.0+

fractionCompleted

TypeScript
get fractionCompleted(): (number) | null
Swift declaration
let fractionCompleted: Double?

The completed fraction of the task represented by the progress view, from `0.0` (not yet started) to `1.0` (fully complete), or `nil` if the progress is indeterminate or relative to a date interval.

get · iOS 14.0+

label

TypeScript
get label(): (ProgressViewStyleConfiguration_Label) | null
Swift declaration
var label: ProgressViewStyleConfiguration.Label?

A view that describes the task represented by the progress view. If `nil`, then the task is self-evident from the surrounding context, and the style does not need to provide any additional description. If the progress view is defined using a `Progress` instance, then this label is equivalent to its `localizedDescription`.

set · iOS 14.0+

label

TypeScript
set label(value: (ProgressViewStyleConfiguration_Label) | null)
Swift declaration
var label: ProgressViewStyleConfiguration.Label?

A view that describes the task represented by the progress view. If `nil`, then the task is self-evident from the surrounding context, and the style does not need to provide any additional description. If the progress view is defined using a `Progress` instance, then this label is equivalent to its `localizedDescription`.

Skipped declarations

No declarations were skipped in this snapshot.

All SwiftUI types →