Posts

Post marked as solved
3 Replies
722 Views
I have created a SwiftUI Gauge for use in a ClockKit Complication, but I am not specifying a minimumValueLabel or a maximumValueLabel - This results in the currentValueLabel being shown both in the centre of the gauge and at the bottom. The Image that I specified is not shown: @State var value:Double = 75 var body: some View {          Gauge(value: capacity, in: 0...100) {             Image(systemName: "square.and.arrow.up") 						.foregroundColor(self.endColour)         } currentValueLabel: {          	Text("\(value, specifier: "%.1f")")         }.gaugeStyle(CircularGaugeStyle(tint: Gradient(colors: [.orange,.green]))) } Can anyone else confirm this? Is it a bug?
Posted
by paulw11.
Last updated
.