Toggle iPhone network indicator in status bar

/ Published in: Objective C
Save to your folder(s)

Copy this code and paste it in your HTML
  1. //show
  2. [UIApplication sharedApplication].networkActivityIndicatorVisible = YES;
  4. //hide
  5. [UIApplication sharedApplication].networkActivityIndicatorVisible = NO;

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.