Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7192749
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T20:00:36+00:00 2026-05-28T20:00:36+00:00

I create views programmatically. To hide status bar in view I use [UIApplication sharedApplication]

  • 0

I create views programmatically. To hide status bar in view I use

[UIApplication sharedApplication] setStatusBarHidden:YES withAnimation:NO];

in viewDidload method. The problem is every view have to implement the code above to be status bar hidden. Is there a way (programmatically) to set status bar hidden just in one place in the app so entire app to be without the status bar ?
I have tried to add this in AppDelegate, but it doesn’t work.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T20:00:38+00:00Added an answer on May 28, 2026 at 8:00 pm

    Open your app plist file MyApp-Info.plist and add a row with the Status bar is initially hidden and the YES value.

    EDIT:

    If you want to do it programmatically, add this in your ApplicationDidFinishLaunching :

    [UIApplication sharedApplication].statusBarHidden = YES;
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I was looking up how to create a view programmatically and found the following
How can I create a basic UIButton programmatically? For example in my view controller,
I wanted to create a very simple method that switches between views in a
I have a programmatically created UIToolbar in a couple of views. In my view
I create the views, UI elements etc programmatically. I'm trying to animate views when
As the title says: in sharepoint 2010 i need to programmatically create a view
I have written a subclass of UIViewController which creates a view programmatically, instead of
I would like to create views, similar to MVC, whereas I can plug HTML
I've got a (SQL Server 2005) database where I'd like to create views on-the-fly.
Ideally I'd like to be able to create the views in Interface Builder and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.