Class

UIProgressView

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

Declaration

@interface UIProgressView : UIView

Overview

The 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, informally, a “spinner”—use an instance of the UIActivityIndicatorView class.

Topics

Initializing the UIProgressView Object

- initWithProgressViewStyle:

Initializes and returns a progress-view object.

Managing the Progress Bar

progress

The current progress shown by the receiver.

- setProgress:animated:

Adjusts the current progress shown by the receiver, optionally animating the change.

observedProgress

The progress object to use for updating the progress view.

Configuring the Progress Bar

progressViewStyle

The current graphical style of the receiver.

progressTintColor

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

progressImage

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

trackTintColor

The color shown for the portion of the progress bar that is not filled.

trackImage

An image to use for the portion of the track that is not filled.

Constants

UIProgressViewStyle

The styles permitted for the progress bar.

Relationships

Inherits From

Conforms To

See Also

Content Views

UIActivityIndicatorView

A view that shows that a task is in progress.

UIImageView

An object that displays a single image or a sequence of animated images in your interface.

UIPickerView

A view that uses a spinning-wheel or slot-machine metaphor to show one or more sets of values.

UIWebView

A view that embeds web content in your app.

Deprecated