Tuesday, April 8, 2014

Display loading indicator / Activity Indicator / daisy wheel in top status bar [ iPhone ]


In UIApplication:
To start indicator:-
UIApplication* app = [UIApplication sharedApplication];
app.networkActivityIndicatorVisible = YES;
To stop indicator

UIApplication* app = [UIApplication sharedApplication];
app.networkActivityIndicatorVisible = NO;



0 comments:

Post a Comment

About

Powered by Blogger.