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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T23:09:46+00:00 2026-06-11T23:09:46+00:00

Just upgraded to the latest Xcode, and iOS6. When you create a new view

  • 0

Just upgraded to the latest Xcode, and iOS6. When you create a new view controller with XIB it defaults to the iOS6 screen size, but you can change this manually to see how your app will look in iOS5.

My question is, are you meant to have two XIBs, one designed specifically for iOS5 and the other in iOS6; or do you use some kind of auto-sizing tool to handle everything?

Thanks.

  • 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-11T23:09:47+00:00Added an answer on June 11, 2026 at 11:09 pm

    There has been lots of discussions around that in the Apple Dev Boards. My take on this:

    If you can work with autoresizing or auto-layout, do not use multiple XIBs.

    I bet in 99% of the views everybody uses, this is perfectly manageable. Table-views are a no-brainer, if you need a XIB for your table views only use one. If your view significantly differs for 3.5″ and 4″, use two XIBs. But try to avoid this by implementing a clever layoutSubviews routine.


    Simple example for a parent view always aligning a subview bottomView at the bottom and full width:

    - (void)layoutSubviews
    {
        CGSize mySize = self.bounds.size;
    
        CGRect bottomFrame = bottomView.frame;
        bottomFrame.origin.y = mySize.height - bottomFrame.size.height;
        bottomFrame.size.width = mySize.width;
        bottomView.frame = bottomFrame;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

So I just upgraded to the latest and greatest Xcode 4.4 but can't find
I just upgraded to the latest 4.3 Xcode. I have my plist.which is preprocessed
I just upgraded to the latest Xcode version(3.2.5) and attempted to build and run
I just upgraded Xcode to the latest (4.2 (4C199)) and my iPhone to iOS
Just upgraded my xcode to the latest SDK which has the iOS 4.1 SDK.
I just upgraded to the latest version of the SDK (version 19) and now
I've just upgraded PHP to the latest version. When I get back to Git,
I just upgraded my Android SDK, ADT and Proguard to the latest and greatest.
I just upgraded from SnowLeapord to Lion and now cannot create virtualenvs. I understand
I just upgraded Xcode from 4.2 to 4.3.3. I then launches iOS Simulator (with

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.