iOS 14.3 Fails to Fix Circular ProgressView Bug

If you’ve been waiting for Apple fix the bug in the SwiftUI ProgressView that causes a circular view to appear using the indeterminate UI then you are out of luck.

Having downloaded and tested iOS 14 with Xcode 12.3 it seems pretty clear to us that the bug is still there. We tried the following code:

struct ContentView: View {
    
    @State private var progress: Double = 1.0
    
    var body: some View {

        VStack {
            ProgressView("Task Progress", value: progress, total: 100)
                .progressViewStyle(CircularProgressViewStyle())
            Slider(value: $progress, in: 1...100, step: 0.1)
        }
        .padding()
    }
}Code language: Swift (swift)

Sadly, when we previewed this code, we still get the spinning indeterminate indicator:

The bug is still listed as open in Apple’s feedback system so we live in hope. In teh meantime, create your own custom circular ProgressView here.


Categories