O'Reilly logo

Learning iOS UI Development by Yari D'areglia

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

View-based components

The following controls are subclasses of UIView, and they are useful to display noninteractive information or act as containers.

Showing progress with UIProgressView

A progress view is an indicator of progress over time. You can see an example of this control during downloads or when sending an e-mail from the Mail app:

Showing progress with UIProgressView

This control is extremely simple. The only property you need to set and read is progress, a value between 0.0 and 1.0. When this value is 0.0, the progress bar is empty, while it is full when its value is equal to 1.0. You can perform a simple animation if you set the progress value using the setProgress:animated: ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required