ProgressView
The different ProgressView initializers
Platform Compatibility
iOS 14.0+ iPadOS 14.0+ macOS 11.0+ watchOS 7.0+ tvOS 14.0+ visionOS 1.0+
Tags
SwiftUI Code
VStack {
HStack(alignment: .top) {
ProgressView()
ProgressView("Foo")
}
HStack(alignment: .top) {
ProgressView(value: 0.42)
.padding(.top)
ProgressView(value: 42, total: 100)
.padding(.vertical)
}
ProgressView(timerInterval: workoutDateRange)
.padding(.bottom)
ProgressView(value: 0.42) {
Text("Foo")
} currentValueLabel: {
Text("bar")
}
}
Found an issue or have a suggestion?
Created: June 5, 2025Updated: June 5, 2025