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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T00:54:05+00:00 2026-05-18T00:54:05+00:00

If I have a project that was written for iphone and a project written

  • 0

If I have a project that was written for iphone and a project written for ipad. Is there a recommended way to combine them into a universal app?

My understanding is that you would take the existing app (iphone project) and convert it to a universal app then rename the classes to class_iphone, class_ipad etc.

The process of coverting includes xcode generating a new MainWindow nib for the ipad and other related files… But this sound painful to go into the project and duplicate the files etc..

please advise.

  • 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-18T00:54:05+00:00Added an answer on May 18, 2026 at 12:54 am

    You may have to rename your NIBs to be iPhone and iPad specific, but you shouldn’t have to do that with your classes. I am not saying that it won’t be painful – just that it will be a different kind of pain. You will need to wrap certain code in:

    if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad)
        {
        }
    else
        {
        }
    

    And you will need to be careful about classes (like UIPopoverController) that are specific to iPads.

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

Sidebar

Related Questions

I have an ActionScript only Flex project that was written by someone else. I
I have a project that requires me to display the waveform for a uploaded
I have a project that uses the normal Maven structure, e.g. module \ src
I have a Java project that is dependent on other Java projects that are
So I'm writing an app, and I want it to be universal. When I
I have written my content provider supposed to wrap access to 2 tables in
I have added Images folder inside src folder in Java project. For setting top
I've opened up an ExtJs project that I've not had my head in for
I will soon be starting on a new web project that consists of 2
I do apologize if this post is a duplicate, but I haven't found anything

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.