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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T02:17:45+00:00 2026-06-15T02:17:45+00:00

I just started using ios 6 autolayouts and I have to say I like

  • 0

I just started using ios 6 autolayouts and I have to say I like them quite a bit. That said, I’m working on an app which needs to support both ios 5 and the iphone 5. Unfortunately, it seems that I can’t use autolayout if I want to support ios 5. As such, I’m wondering what the best way is to support ios 5 while not having your layouts look bad on the iphone 5?

I can see a few possible solutions, but they all seem pretty awful.

I could do some kind of macro where I pass two nib files and it picks one depending on the operating system?

I could do multiple build targets with different nib files loaded in them depending on the operating system.

I could replace autolayout constraints with autoresizing masks all over the whole app.

Does anyone have any experience with this problem they could share?

  • 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-15T02:17:47+00:00Added an answer on June 15, 2026 at 2:17 am

    First idea to load different nibs is better, if you want to leave your autolayouts. However, you should use not macro, but simple check in your code since macro check wouldn’t work as it is performed only ONCE when you compile your project.

    On the other side, it is recommended to use autoresizing masks if you are supporting old iOS versions

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

Sidebar

Related Questions

I've got an app i'm working on and i just started using iOS 5.
I´ve just started using ASIHTTPRequest for iOs and I have a small issue with
I've just started writing tests for my iOS app, I'm using Xcode4 and OCUnit.
I am a beginner to iOS development and have just started working with the
I've just started using the facebook-ios-SDK. I'm trying to run the sample app to
I have just started designing for my first iOS app and I am confused
I just started using Eclipse but already I have a small problem. At first
I just started using Scala and Spec2. However, I'm a little bit confusing of
I just started using/learning Python and have some questions. I have a text file
I just started using virtualenv, and it was working normally until yesterday. Now, 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.