CircularProgressViewStyle

A progress view that uses a circular gauge to indicate the partial completion of an activity.

StructureiOS 14.0+macOS 11.0+tvOS 14.0+watchOS 7.0+CircularProgressViewStyle in SwiftUI

Declaration

React
type CircularProgressViewStyle = SwiftOpaque<'CircularProgressViewStyle'>;
Swift
nonisolated struct CircularProgressViewStyle

Overview

On watchOS, and in widgets and complications, a circular progress view appears as a gauge with the GaugeStyle.accessoryCircularCapacity style. If the progress view is indeterminate, the gauge is empty.

In cases where no determinate circular progress view style is available, circular progress views use an indeterminate style.

Use ProgressViewStyle.circular to construct the circular progress view style.

From Apple’s SwiftUI documentation. Code samples there are Swift.

See also

More in Styles.