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

  • SEARCH
  • Home
  • 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 4080340
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T17:55:04+00:00 2026-05-20T17:55:04+00:00

I have a UIImagePickerController that is shown [self presentModalViewController:self.picker animated:NO]; Then later on the

  • 0

I have a UIImagePickerController that is shown

[self presentModalViewController:self.picker animated:NO];

Then later on the code, I allow the user to display a preference panel :

PreferencesController *nextWindow = [[[PreferencesController alloc] initWithNibName:@"Preferences" bundle:nil] autorelease];
UINavigationController* navController = [[[UINavigationController alloc] initWithRootViewController:nextWindow] autorelease];
[self presentModalViewController:navController animated:YES];

At this point, the new controller raises on the screen, but don’t go to the top.
Some space is left “transparent” at the top (I can see the camera view behind), and the bottom of the view is hidden out of the screen. The space I am talking about is about a status bar height. The status bar is not present on the screen.

The navigation controller is hidden :

self.navigationController.navigationBarHidden = YES;

There is a toolbar at the top of the view. Nothing special into the view.
The height of the view is defined at 480. All simulated element are set off in IB.
The autoresize properties are all set on.

I had a previous xib (I rebuilt it from scratch) that worked very well. I don’t see what I missed on this one (I have only changed the xib, that replaces the previous one).

I’ve cleaned the cache to be sure there was nothing left. No change…
I’ve deleted everything in the new view to prevent some conflicts. No change…

What did I miss ? How could I remove this empty space ?

  • 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-20T17:55:05+00:00Added an answer on May 20, 2026 at 5:55 pm

    After some searches and some other problems, I’ve found a final solution to the problem through this question

    I had to call :

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

    at the application start.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a UIImagePickerController that i display in a popover when the user presses
I have the following code: UIImagePickerController *imagePicker = [[UIImagePickerController alloc] initWithRootViewController:self]; imagePicker.delegate = self;
I have an app that allows a user to record a video with UIImagePickerController
I have a UITableViewController that pops up a UIImagePickerController, user takes a pic, hits
I have found a lot of information on using UIImagePickerController to let the user
I have a UIImagePickerController subclass, and I would like to detect when the user
I have this code in my iOS app: - (IBAction)cameraButtonPressed:(id)sender { if ([UIImagePickerController isSourceTypeAvailable:UIImagePickerControllerSourceTypeCamera]
In my app, I have write this code for capture video -(IBAction)takeVideo:(id)sender { [self
I have an app that fully support rotation. I am modally adding a UIImagePickerController
I'm using the following code in my UIImagePickerController delegate: - (void)imagePickerController:(UIImagePickerController *)picker didFinishPickingMediaWithInfo:(NSDictionary *)info

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.