My Connections

Business card

Sunday, October 3, 2010

UIActivityIndicator in status bar

spinner status bar To display a UIActivityIndicator use the UIApplication’s property: networkActivityIndicatorVisible.

    [UIApplication sharedApplication].networkActivityIndicatorVisible = YES;

and to disable:

    [UIApplication sharedApplication].networkActivityIndicatorVisible = NO;

That’s almost all about UIActivityIndicator. More can be found in UIActivityIndicator Class Reference in documentation.

No comments:

Post a Comment