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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T01:31:27+00:00 2026-06-16T01:31:27+00:00

My main view controller calls presentViewController to display a configuration screen. A button on

  • 0
  1. My main view controller calls presentViewController to display a configuration screen.
  2. A button on that configuration screen calls presentViewController to allow the user to select a photo.
  3. Once the second view controller is dismissed, the first view controller is redrawn under the status bar on iOS 6 (works fine on iOS 5).

In the viewWillAppear method of the first config controller (the one modally presented) I tried a couple things:

  • Checking the statusBarFrame (it returns 20 on first view; 20 on following views)
  • Checking the main screen’s frame (it returns {{0, 20}, {320, 460}} on first view, {0, 0} on following views)
  • Manually setting the y coordinate of the frame to 20 (iOS changes it back to 0 even though the autoresizing mask is set to none)

At this point I can’t think of anything except manually moving all the subviews down 20 pixels, which is super janky. Any thoughts as to what might be causing this?

What has changed in iOS 6 that might cause this?

  • 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-16T01:31:29+00:00Added an answer on June 16, 2026 at 1:31 am

    I’m not sure why, but this was fixed by removing the iOS 6 rotation methods, which were unused since the app is portrait-only (shouldAutorotate and supportedInterfaceOrientations).

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

Sidebar

Related Questions

In my main view controller, I have a button that calls a popover. Since
I have a main view controller that consists of 1 button that when tapped,
I have a main screen that presents a modal view controller. When the modal
My app has a main screen that the user always starts at, and from
In my main view controller, an NSTimer calls the function below after a specified
I'm using codeigniter and have a main view that calls another view based on
I have a modal view controller that is presented from my main view, I
I have a view MainView that has a navigation bar without any navigation controller,
I have a main view and the URL for this view has a Action/Controller/Area
I have a modal view controller that creates core data changes in it's own

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.