UIApplication(AGSAdditions) Class Reference


Description

This category provides a helper method to track whether or not the network activity indicator should be shown or hidden.

Since:
1.0

List of all members.

Static Public Member Functions

(void) + showNetworkActivityIndicator:

Member Function Documentation

+ (void) showNetworkActivityIndicator: (BOOL)  show  

Provides a cetralized way to show or hide the network activity indicator. It contains logic to reconcile competing requests to control the indicator.

Developers should use this method instead of [UIApplication sharedApplication].networkActivityIndicatorVisible to show/hide the indicator for any network calls they make in their application. This will ensure that the indicator can keep track of, and properly reflects the state of, any outstanding network call regardless of which component issued the call.

Parameters:
show Flag to determine visibility of indicator: YES to show, NO to hide.
Since:
1.0