hi, i use NSobject class inwhich i have NSURLConnection,but how can i show UIActivityIndicatorView when connection established and finished.....?i tried in appdelegate.m file inwhich i have mentioned in appdidfnish method
Search = [[UIActivityIndicatorView alloc]
initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleWhiteLarge];
[Search setCenter:CGPointMake(160, 240)];
[window addSubview: Search];
and also i have individual method like
-(void)anim
{
[search startAnimating];
}
but if i call this method through appdelegate object in NSobject.m page, it will not work.. what i have to do? any help? please?