How can I show an uiactivityindicator when I click a cell in my tableview as sometimes it takes a few moments for it to get pushed to the next view since it’s getting information from the internet.
I have successfully done it for my uiwebview but just stuck on this.
Thanks.
-(void)viewDidLoad {
webPage.self = delegate;
indicator.hidesWhenStopped = TRUE;
}
–(void)webViewDidStartLoad:(UIWebView *)webView {
[indicator startAnimating];
}
–(void)webViewDidFinishLoad:(UIWebView *)webView {
[indicator stopAnimating];
}