iPhone SwiftUI layouts

Explore interactive SwiftUI previews across every available iPhone screenshot variant.

Gauge

Current Value Gauge

Creates a gauge showing a value within a range and that describes the gauge’s purpose and current value

Gauge(value: 0.42) {
    Text("Foo")
} currentValueLabel: {
    Text("\(currentValue)")
}
iOS 16.0+ iPadOS 16.0+ macOS 13.0+ watchOS 7.0+ visionOS 1.0+

Every available iPhone screenshot for Current Value Gauge .

2 views