Howdy...
I'm trying to get a UIActivityIndicatorView to appear while a new view is being loaded.
The 2nd view i am trying to load is sourcing the information from the internet and sometimes takes a few minutes to load. So far, i can see my activityInicator once the page is about to be loaded
I start the animation off of a button that is loading the view.
Code:
-(IBAction)viewBlog{
[self.activityIndicator startAnimating];
BlogViewController *blogView = [[BlogViewController alloc] initWithNibName:@"BlogViewController" bundle:nil];
[self.navigationController pushViewController:blogView animated:YES];
[blogView release];
}
But it only seems to load once my blogView has been loaded..
Can anyone help me figure out how to get the activityIndicator to show up as soon as i press my button!!!
Thanks for any and all the help