hey guys
whats up?
Its my first post here
Im making a simple app (its a TabBar applications that open 3 tabs with 3 sites , one in each tab).
I want to put a UIActivityIndicatorView ,I`ve made all code ok :
Quote:
First View.h
IBOutlet UIWebView *navegador;
IBOutlet UIActivityIndicatorView *indicador;
First View.m
- (void)viewDidLoad {
[super viewDidLoad];
NSString *urlAddress = @"http://m.google.com.br";
NSURL *url = [NSURL URLWithString:urlAddress];
NSURLRequest *requestObj = [NSURLRequest requestWithURL:url];
[navegador loadRequest:requestObj];
[super viewDidLoad];
}
- (void)webViewDidStartLoad UIWebView *)webView{
[indicador startAnimating];
}
- (void)webViewDidFinishLoad UIWebView *)webView{
[indicador stopAnimating];
}
|
I`ve connect in Interface Builder perfect
I Built And Ran my app and the Indicator dont stops animating
I tried to connect the UIWebView`s Delegate in Files Owner, on app...Delegate, on tabbardelegate but nothing
Can you help me?
thanks