Skip to content

Instantly share code, notes, and snippets.

@mborromeo
Created February 15, 2010 08:41
Show Gist options
  • Save mborromeo/304488 to your computer and use it in GitHub Desktop.
Save mborromeo/304488 to your computer and use it in GitHub Desktop.
[iPhone SDK] Shows/Hides the network activity indicator
/*
Shows/Hides the network activity indicator
(the little rotating icon between status bar time and network operator)
*/
UIApplication* uiApp = [UIApplication sharedApplication];
uiApp.networkActivityIndicatorVisible = YES; // to hide indicator, set this to NO
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment