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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T20:22:48+00:00 2026-05-25T20:22:48+00:00

I am using a UITabBarController to switch between two view controllers. The first view

  • 0

I am using a UITabBarController to switch between two view controllers. The first view controller looks fine but the second view controller has a white gap between the status bar and the root view equaling the height of the status bar.

gap status bar

Here is the nib file for the second view controller. I’ve turned on the simulated status bar and tab bar and placed the UIImageView flush between those two bars. My code does nothing to change the position of the UIImageView.

nib

I noticed that the Facebook app sometimes has this problem when returning from viewing a photo to the news feed. My problem is similar, except it happens 100% of the time. What could be the problem?

  • 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-25T20:22:48+00:00Added an answer on May 25, 2026 at 8:22 pm

    What is the origin of your containing view and image view? If you have manually adjusted these to compensate for the status bar and then your nib is set to want full screen, this may cause it to be one status bar’s height below the top of it’s content view, which looks like the situation you have. The origins of both views should be (0,0), I think.

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

Sidebar

Related Questions

I am using a UITabBarController in my application and when I switch between tabs
For the navigation in my app I'm using a UITabBarController. This works fine, but
I have a view controller that's been added to a UITabBarController . In this
In my application I'm using a Navigation Controller to push one view that loads
The Apple documentation gives the following warning regarding using View Controllers to manage part
I have a root UIViewController subclass that has a UITabBar, (I'm not using UITabBarController)
I have an UITabBar controller managing several controllers (using SDK 3.0). One of these
I am using UITabBarController and I am setting some controllers in it ,when i
My application has a following requirement. 1) First screen has two tabs. 2) From
I have an app using a UITabBarController, and I have another view that needs

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.