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