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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T21:40:37+00:00 2026-05-23T21:40:37+00:00

I started today to upgrade my iPhone-App to an Universal-App. So I’m using Xcode

  • 0

I started today to upgrade my iPhone-App to an Universal-App. So I’m using Xcode 4 and I changed the setting of my target to Universal. Xcode asked me if I want to convert MainWindow to a iPad-Version, I answered with yes and the problems started.


What happened?

If I built my application, the simulator rezised my iPhone-Nib to a awful iPad-Version.
I didn’t want this and searched for a function which converts my iPhone-Nib into a iPad-Nib. But I didn’t find any function like this and searched for it online.
Someone wrote that this function got removed in Xcode 4 and the best solution would be to copy the iPhone-Nib in Finder into the iPad-Folder of my project.
I did this and added the new “iPad-Nib” into Xcode to adjust it a bit.
Then I built my project again and I saw the same rezised, awful iPhone-Nib like before, so I cleaned my Target and built it again. Now the Simulator showed the right “iPad-Nib” to me but some objects were still not on its right place but some were…

I started to adjust my Nib for the Simulator, now my App looks fine in the Simulator and like crap in Xcode. Also my app sometimes loads the awful, resized iPhone-Nib.

What did I wrong? And is there another possibility to create the “iPad-Nib”?

  • 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-23T21:40:38+00:00Added an answer on May 23, 2026 at 9:40 pm

    When you answered YES to convert MainWindow to an iPad Version, Xcode took your iPhone nib, copied it, and adjusted the Window and Views to have the proper iPad size. That’s it. It’s now up to you to start making adjustments to your views.

    The link posted by ferbass is a great starting point to start learning about changing your app to be universal. There is a whole xcode project posted that you can download and look through.

    The key point I took from it was using the UI_USER_INTERFACE_IDIOM() to determine which platform the app is currently running on. Using this in your view controllers will allow you to adjust the view accordingly.

    if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad) {
        // Do iPad related stuff
    }
    else {
        // Do iPhone related stuff
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using Visual studio 2008 and for some reason when I started today
I just started today to use MVC T4 and I really want to keep
I'm using swipl 5.10.2. I started today learning Prolog for my AI course. I've
I just started c++ today. I am doing some simple registration program. I want
I just started reading Effective C++ today and got to the point where the
I just started thinking about creating/customizing a web crawler today, and know very little
I have just started playing with the ASP.Net MVC framework, and today I created
I started an application in Google App Engine right when it came out, to
I started using subversion for one of my projects and it would be absolutely
Just started getting a bunch of errors on our C# .Net app that seemed

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.