UIActivityIndicator

- (void)viewDidLoad { [super viewDidLoad];// Add an invisible UIActivityViewIndicator to the toolbar UIToolbar *toolbar = (UIToolbar *)[self.view viewWithTag:767]; NSArray *items = [toolbar items];
 * http://stackoverflow.com/questions/333441/adding-a-uilabel-to-a-uitoolbar

activityIndicator = [[UIActivityIndicatorView alloc] initWithFrame:CGRectMake(0.0f, 0.0f, 20.0f, 20.0f)]; [activityIndicator setActivityIndicatorViewStyle:UIActivityIndicatorViewStyleWhite];

NSArray *newItems = [NSArray arrayWithObjects:[items objectAtIndex:0],[items objectAtIndex:1],[items objectAtIndex:2], [[UIBarButtonItem alloc] initWithCustomView:activityIndicator], [items objectAtIndex:3],nil]; [toolbar setItems:newItems];}