Why does my ball not stop spinning?
- (void)viewDidLoad {
NSString *urlAddress = @"http://reader.mac.com/mobile/v1/http%3A%2F%2Fwww.wjfk.com%2Fpages%2Fpodcast%2F119567.rss";
//Create a URL object.
NSURL *url = [NSURL URLWithString:urlAddress];
//URL Requst Object
NSURLRequest *requestObj = [NSURLRequest requestWithURL:url];
//Load the request in the UIWebView.
[webView loadRequest:requestObj];
UIApplication* app = [UIApplication sharedApplication];
app.networkActivityIndicatorVisible = YES;
}
- (void)webViewDidFinishLoad
UIWebView*)webView {
UIApplication* app = [UIApplication sharedApplication];
app.networkActivityIndicatorVisible = NO;
}
- (void)viewDidLoad {
NSString *urlAddress = @"http://reader.mac.com/mobile/v1/http%3A%2F%2Fwww.wjfk.com%2Fpages%2Fpodcast%2F119567.rss";
//Create a URL object.
NSURL *url = [NSURL URLWithString:urlAddress];
//URL Requst Object
NSURLRequest *requestObj = [NSURLRequest requestWithURL:url];
//Load the request in the UIWebView.
[webView loadRequest:requestObj];
UIApplication* app = [UIApplication sharedApplication];
app.networkActivityIndicatorVisible = YES;
}
- (void)webViewDidFinishLoad
UIApplication* app = [UIApplication sharedApplication];
app.networkActivityIndicatorVisible = NO;
}