Show/Hide iPhone Status Bar


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

Allows you to toggle visibility of the iPhone status bar at the top of the screen that shows the carrier information, network status and time


Copy this code and paste it in your HTML
  1. //Hide
  2. [UIApplication sharedApplication].statusBarHidden = YES;
  3.  
  4. //Show
  5. [UIApplication sharedApplication].statusBarHidden = NO;

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.