Example for UIProgressView and UIActivityIndicatorView.