progress bar will not work in swiftUI here is the code I used.
Code Block import SwiftUI struct ContentView: View { @State private var progress = 0 var body: some View { ProgressView(value: $progress) } } struct ContentView_Previews: PreviewProvider { static var previews: some View { ContentView() } }