Instance Method インスタンスメソッド

progressViewStyle(_:)

Sets the style for progress views in this view.

Declaration 宣言

func progressViewStyle<S>(_ style: S) -> some View where S : ProgressViewStyle

Parameters パラメータ

style

The progress view style to use for this view.

Discussion 議論

For example, the following code creates a progress view that uses the “circular” style:


ProgressView()
    .progressViewStyle(.circular)