CircularProgressViewStyle

@MainActor
public struct CircularProgressViewStyle : ProgressViewStyle

A Fiori-styled circular progress view style that renders progress as a circular arc.

  • tintColor: Color of the progress arc. Defaults to .preferredColor(.tintColor).
  • trackColor: Color of the background track (determinate mode only). Defaults to .preferredColor(.secondaryFill).
  • lineWidth: Stroke width in points. Defaults to 2.0.

See also

ProgressIndicator, ProgressIndicatorStyle

  • Undocumented

    Declaration

    Swift

    @MainActor
    public init(
        tintColor: Color = .preferredColor(.tintColor),
        trackColor: Color = .preferredColor(.secondaryFill),
        lineWidth: CGFloat = 2.0
    )
  • Declaration

    Swift

    @MainActor
    public func makeBody(configuration: Configuration) -> some View