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 357811
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T12:14:26+00:00 2026-05-12T12:14:26+00:00

In my application I don’t use the upper bar that displays Wi-Fi/Date/Time because it’s

  • 0

In my application I don’t use the upper bar that displays Wi-Fi/Date/Time because it’s a game. However I need to be able to let my user to pick his music, so I’m using a MPMediaPickerController. The problem is, that when I present my controller, the controller ends up leaving a 10 pixels ( aprox ) bar at the top of the screen, just in the place the Wi-Fi/Date/Time bar, should be present.

Is there a way I could make my MPMediaPickerController bigger ? or to be presented upper in the screen ?

// Configures and displays the media item picker.
- (void) showMediaPicker: (id) sender 
{ 
 MPMediaPickerController *picker =
 [[MPMediaPickerController alloc] initWithMediaTypes: MPMediaTypeAnyAudio];

 [[picker view] setFrame:CGRectMake(0, 0, 320, 480)];

 picker.delegate      = self;
 picker.allowsPickingMultipleItems = YES;
 picker.prompt      = NSLocalizedString (@"AddSongsPrompt", @"Prompt to user to choose some songs to play");

 [self presentModalViewController:picker animated: YES];
 [picker release];
}

There I tried to set the size to 320×480 but no luck, the picker is still presented and leaves a space in the upper part of the screen, could anyone help me ?

Btw, here’s how it looks:

alt text http://img195.imageshack.us/img195/1986/img0001yb.png

I have asked a bit, and people told me this could indeed be a bug, what do you guys think ?

  • 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-12T12:14:26+00:00Added an answer on May 12, 2026 at 12:14 pm

    This could go two ways. Yes I’d say it’s a bit of a bug that the picker doesn’t resize accordingly, but it could also be argued that Apple expects the picker to operate in a non-full screen environment.

    Rather than try to force it to work as you’d like, I’d instead recommend turning the status bar back on while the picker is visible:

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

    (To confirm, you are turing the status bar off in a similar fashion with your app, not just somehow painting over it?)

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

Sidebar

Related Questions

We are adding a couple pages to our application that don't need to be
Application names on Google Play don't need to be unique, and it's possible to
I don't know how make my application as auto start application.That is my expectation
I need to process html submitted in my web application and don't want to
We need to access a Teradata database via php application We don't have odbc
I want to use twitter web service in my silverlight application but don't know
I need to start 1-3 external programs in my Java application that have paths
So I have several comboboxes in my WPF application that don't change the selection
I'm trying to work with an application that i don't have the source code
I want to publish a C# application and I don't want to use oneclick

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.