ProgressView

The different ProgressView initializers

ProgressView - iOS Liquid Glass Light Mode Preview

Platform Compatibility

iOS 14.0+ iPadOS 14.0+ macOS 11.0+ watchOS 7.0+ tvOS 14.0+ visionOS 1.0+

Tags

SwiftUI Code

Docs
let workoutDateRange = Date()...Date().addingTimeInterval(5*60)

var body: some View {
    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: 0.42)
            .padding(.bottom)
        ProgressView(value: 0.42) {
            Text("Foo")
        } currentValueLabel: {
            Text("bar")
        }
    }
}

Found an issue or have a suggestion?

Created: June 5, 2025Updated: December 27, 2025