you want to hide Status Bar in your app , Follow this steps : Step 1 : 2016-11-20_15-56-10 Step 2: Add to your appDelegate didFinishLaunchingWithOptions function

application.statusBarHidden = YES;
so :
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
      application.statusBarHidden = YES;
}
Step 3:
if statusBar is  not hidden ,then 
- (BOOL)prefersStatusBarHidden {
    return YES;
}

[self setNeedsStatusBarAppearanceUpdate];

 
Total Views 83, Views Today 1

2 thoughts on "Hide Status Bar in iOS app"

  1. wewgaming says:

    Enjoyed reading through this, very good stuff, thankyou .

  2. stays on topic and states valid points. Thank you.

Leave a Reply

Your email address will not be published. Required fields are marked *