The progress view style to use for this view.
Instance Method
インスタンスメソッド
progress
progressViewStyle(_:)
Sets the style for progress views in this view.
Availability 有効性
- iOS 14.0+
- iPadOS 14.0+
- macOS 11.0+
- Mac Catalyst 14.0+
- tvOS 14.0+
- watchOS 7.0+
Technology
- Swift
UI
Declaration 宣言
func progressViewStyle<S>(_ style: S) -> some View
where S : ProgressViewStyle
Parameters パラメータ
style
Discussion 議論
For example, the following code creates a progress view that uses the “circular” style:
ProgressView()
.progressViewStyle(.circular)