<!--
{
  "availability" : [
    "iOS: 2.0.0 -",
    "iPadOS: 2.0.0 -",
    "macCatalyst: 13.1.0 -",
    "tvOS: -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIProgressView/init(progressViewStyle:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UIProgressView(im)initWithProgressViewStyle:"
  },
  "title" : "init(progressViewStyle:)"
}
-->

# init(progressViewStyle:)

Creates a progress view with the specified style.

```
convenience init(progressViewStyle style: UIProgressView.Style)
```

## Parameters

`style`

A constant that specifies the style of the object to be created. See [`UIProgressView.Style`](/documentation/UIKit/UIProgressView/Style) for descriptions of the style constants.

## Return Value

An initialized [`UIProgressView`](/documentation/UIKit/UIProgressView) object.

## Discussion

[`UIProgressView`](/documentation/UIKit/UIProgressView) sets the height of the returned view according to the specified `style`. You can set and retrieve the style of a progress view through the [`progressViewStyle`](/documentation/UIKit/UIProgressView/progressViewStyle) property.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)