LinearProgressViewStyle
A progress view that visually indicates its progress using a horizontal bar
Platform Compatibility
iOS 14.0+ iPadOS 14.0+ macOS 11.0+ watchOS 7.0+ visionOS 1.0+
Tags
SwiftUI Code
VStack {
ProgressView("Foo")
ProgressView(value: 0.42) {
Text("Foo")
} currentValueLabel: {
Text("bar")
}
}
.progressViewStyle(.linear)
Found an issue or have a suggestion?
Created: June 5, 2025Updated: June 5, 2025