Tag Archives: UIActivityIndicatorView
Placing a UIActivityIndicartorView on a UIBarButtonItem
Have you seen those iPhone apps with a reload button that switches itself to an animated activity indicator while the reload action is being performed? Here is how to do that. Place this code on your ViewController: – (void)showReloadButton { UIBarButtonItem *refreshItem = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemRefresh [...]
