ProgressViewWithLinearStyleType

public struct ProgressViewWithLinearStyleType : IntrospectableViewType

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

struct ContentView: View {
    var body: some View {
        ProgressView(value: 0.5)
            .progressViewStyle(.linear)
            .introspect(.progressView(style: .linear), on: .iOS(.v14, .v15, .v16, .v17)) {
                print(type(of: $0)) // UIProgressView
            }
    }
}
  • Undocumented

    See more

    Declaration

    Swift

    public enum Style