ProgressViewWithCircularStyleType

@MainActor
public struct ProgressViewWithCircularStyleType : IntrospectableViewType

An abstract representation of the ProgressView type in SwiftUI, with .circular style.

struct ContentView: View {
    var body: some View {
        ProgressView(value: 0.5)
            .progressViewStyle(.circular)
            .introspect(.progressView(style: .circular), on: .iOS(.v14Later)) {
                print(type(of: $0)) // UIActivityIndicatorView
            }
    }
}
  • Undocumented

    See more

    Declaration

    Swift

    public enum Style