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;
  3.  
  4. //hide
  5. [UIApplication sharedApplication].networkActivityIndicatorVisible = NO;

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.