iPhone SwiftUI layouts

Explore SwiftUI APIs, components, and modifiers with interactive iPhone previews, Swift code, and Apple documentation. Compare every available orientation, appearance, and design.

ProgressView

ProgressView Colors

Customizing the colors of the ProgressView

Explore ProgressView Colors on iPhone in portrait, with SwiftUI code and Apple API documentation.

VStack {
    ProgressView("Foo")
    ProgressView(value: 0.42) {
        Text("Foo")
    } currentValueLabel: {
        Text("bar")
    }
}
.tint(.red)
    .foregroundStyle(.brown)
iOS 14.0+ iPadOS 14.0+ macOS 11+ watchOS 7.0+ tvOS 14.0+ visionOS 1.0+

Every available iPhone screenshot for ProgressView Colors.

2 views