This doesn't apply
ProgressView("\(spinnerLabel)")
    .accentColor(.white)
This changes the label
.foregroundColor(.white)

To make a custom ProgressView style, you need to create a struct that has a makeBody() method accepting the current configuration of the view.
In the example How to show progress on a task using ProgressView is using the DefaultProgressViewStyle or LinearProgressViewStyle . If you want the Progress indicator to stop you will need to dismiss the ProgressView .
Try the following:
For iOS15+
.tint(.white)
For iOS13+
.progressViewStyle(CircularProgressViewStyle(tint: Color.white))
                        The selected answer contains a deprecated method, init(tint:).
This is the new way to change the tint color:
ProgressView()
    .tint(.white)
                        If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With