iPhone SwiftUI layouts
Explore interactive SwiftUI previews across every available iPhone screenshot variant.
201elements
Gauge
Current Value Gauge
Creates a gauge showing a value within a range and that describes the gauge’s purpose and current value
SwiftUI code
Gauge(value: 0.42) {
Text("Foo")
} currentValueLabel: {
Text("\(currentValue)")
}Compatibility
iOS 16.0+ iPadOS 16.0+ macOS 13.0+ watchOS 7.0+ visionOS 1.0+
Tags
Found an issue or have a suggestion?
All variants
Every available iPhone screenshot for Current Value Gauge .