<!--
{
  "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",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UIProgressView"
  },
  "title" : "UIProgressView"
}
-->

# UIProgressView

A view that depicts the progress of a task over time.

```
@MainActor class UIProgressView
```

## Overview

The [`UIProgressView`](/documentation/UIKit/UIProgressView) class provides properties for managing the style of the progress bar and for getting and setting values that are pinned to the progress of a task.

For an indeterminate progress indicator — or a “spinner” — use an instance of the [`UIActivityIndicatorView`](/documentation/UIKit/UIActivityIndicatorView) class.

## Topics

### Creating a progress view

[`init(progressViewStyle:)`](/documentation/UIKit/UIProgressView/init(progressViewStyle:))

Creates a progress view with the specified style.

[`init(frame:)`](/documentation/UIKit/UIProgressView/init(frame:))

Creates a progress view with the specified frame rectangle.

[`init(coder:)`](/documentation/UIKit/UIProgressView/init(coder:))

Creates a progress view from data in an unarchiver.

### Managing the progress bar

[`progress`](/documentation/UIKit/UIProgressView/progress)

The current progress of the progress view.

[`setProgress(_:animated:)`](/documentation/UIKit/UIProgressView/setProgress(_:animated:))

Adjusts the current progress of the progress view, optionally animating the change.

[`observedProgress`](/documentation/UIKit/UIProgressView/observedProgress)

The progress object to use for updating the progress view.

### Configuring the progress bar

[`progressViewStyle`](/documentation/UIKit/UIProgressView/progressViewStyle)

The current graphical style of the progress view.

[`progressTintColor`](/documentation/UIKit/UIProgressView/progressTintColor)

The color shown for the portion of the progress bar that’s filled.

[`progressImage`](/documentation/UIKit/UIProgressView/progressImage)

An image to use for the portion of the progress bar that’s filled.

[`trackTintColor`](/documentation/UIKit/UIProgressView/trackTintColor)

The color shown for the portion of the progress bar that isn’t filled.

[`trackImage`](/documentation/UIKit/UIProgressView/trackImage)

An image to use for the portion of the track that isn’t filled.

### Constants

[`UIProgressView.Style`](/documentation/UIKit/UIProgressView/Style)

The styles permitted for the progress bar.



---

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)