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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T04:19:21+00:00 2026-06-07T04:19:21+00:00

A picture is worth a thousand words: The app is setup for full screen

  • 0

A picture is worth a thousand words:

enter image description here

The app is setup for full screen by turning off the status bar in code. Every single UIViewController is full screen. They all behave as expected. No rotation either, the entire app stays in portrait. This works fine too.

The “New Message” interface animates up as expected but the status bar re-appears and, what is worst, the “New Message” view goes under it.

I am using the MessageUI framework to let the user send out SMS messages. Here’s how the message compose interface is presented:

if([MFMessageComposeViewController canSendText])
{
    MFMessageComposeViewController *msgvc = [[MFMessageComposeViewController alloc] init];
    msgvc.body = @"SMS message content";
    msgvc.recipients = [NSArray arrayWithObjects:@"1234567890", @"2345678901", nil];
    msgvc.messageComposeDelegate = self; 
    [self presentModalViewController:msgvc animated:YES];

    [msgvc release];
}

I tried playing with wantsFullScreenLayout but it did absolutely nothing. I found some references to this problem through Google but no solutions.

  • 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-06-07T04:19:23+00:00Added an answer on June 7, 2026 at 4:19 am

    Here’s how I solved the problem:

    I added this one line of code after presenting the MessageUI view controller to, I guess, re-hide the status bar:

    [self presentModalViewController: msgvc animated:FALSE];
    [[UIApplication sharedApplication] setStatusBarHidden:TRUE];
    [msgvc release];
    

    Even though the application starts-up in full screen mode (setup in code in the app delegate) MessageUI seems to require that the status bar be handled all over again.

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

Sidebar

Related Questions

A picture is worth a thousand words, and I am guessing that the pictures
Hopefully a picture is worth a thousand lines of code because I don't want
A picture is worth a thousand words - so here is the existing against
A picture's worth a thousand words... For a bit more background, I have a
Because picture (or example) is worth more than thousand words, I'll use an example:
A picture is supposed to be worth a 1000 words, so let's see if
A picture says more than a thousand words. As you can see, my fill
Don't really know how to formulate the question. A picture is worth a thousand
Sorry for the length, but a picture is worth 1000 words: In ASP.NET MVC
A picture says more than a thousand words? I would like the second (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.