iRam11,
Просто внедрите этот код и спросите, есть ли у вас проблемы.
NextView.h
Объявить
UIAlertView *av;
UIActivityIndicatorView *actIndicator;
NextView.m
in viewWillAppear call this callWebService Method
-(void)callWebService {
av = [[UIAlertView alloc] initWithTitle:@"Loading..." message:@"Please wait..." delegate:self cancelButtonTitle:nil otherButtonTitles:nil];
actIndicator = [[[UIActivityIndicatorView alloc] initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleWhiteLarge] autorelease];
[actIndicator setFrame:CGRectMake(120, 70, 40, 40)];
[actIndicator setHidesWhenStopped:YES];
[av addSubview:actIndicator];
[actIndicator startAnimating];
[av show];
[av release];
//Do you web service call
}
-(void)parserDidEndDocument:(NSXMLParser *)parser {
// Do you tableview reload.
[av dismissWithClickedButtonIndex:0 animated:YES];
actIndicator.hidden = YES;
}