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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T21:42:45+00:00 2026-06-11T21:42:45+00:00

I have to develop an application for both ios phones and tablets. The application

  • 0

I have to develop an application for both ios phones and tablets. The application logic is the same, while the UI is completely different. I’m wondering how I should deal with this: make 1 big app for both, or an app for phone and an app for tablet (and then upload the 2 ipa’s as 1 app in the market).

When I make 1 application, I should check if it’s phone or tablet in code to redirect to the appropriate activity. Also I should include compatibility code to make it compile for phones. If I would make 2 apps, I don’t need that check and I also don’t need to include the compatibility code, so the app would be a lot smaller. But in that case I’ll have to copy/paste the application logic constantly from one project to the other one while development.

So that’s why I’m wondering, what’s the best practice in this case? I’ve been searching for information about this, but I only find articles about how to manage the different xml layouts, or articles with not so much information in it.

i googled and found theres an article for android here Android app for phone and tablet: 1 or 2 apps?

But i need to know about ios apps

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

    Put this code into your app delegate class and

    - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
    {
    
        UINavigationController *navController;
    
        if ([[UIDevice currentDevice] userInterfaceIdiom] == UIUserInterfaceIdiomPhone) {
    
             _iPhonehomeScreen = [[NFHomeScreen_iPhone alloc] initWithNibName:@"NFHomeScreen_iPhone" bundle:nil];
            navController = [[UINavigationController alloc] initWithRootViewController:_iphonehomeScreen];
            [navController setNavigationBarHidden:YES];
            self.window.rootViewController = navController;
        }
        else {
            _iPadhomeScreen = [[NFHomeScreen_iPad alloc] initWithNibName:@"NFHomeScreen_iPad" bundle:nil];
            navController = [[UINavigationController alloc] initWithRootViewController:_iPadhomeScreen];
            [navController setNavigationBarHidden:YES];
            self.window.rootViewController = navController;
    
        }
    
        [navController release];
    }
    

    now use two xib for iPad and iPhone with common .h and .m file for same.

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

Sidebar

Related Questions

I have been tasked to develop an application for my school that should be
We have to develop an application like Google Draw, not exactly the same. The
I need to develop an application on both iphone and android which have to
I have to develop a application (Winforms-application) which is connected to a database within
I have to develop an application with which my client will do visual design.
I have to develop an application that display some information about the possessor of
I have to develop an application for an Android Tablet. This will do the
Situation is you have to develop an application against an Active Directory Tree. Want
If i have to develop a small CRM application, why would i choose ASP.NET
I have to develop a Java ME (formerly known as J2ME) application that will

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.