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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T09:34:18+00:00 2026-05-18T09:34:18+00:00

I have an iphone application but i want to make it run on ipad

  • 0

I have an iphone application but i want to make it run on ipad .when i run this app. on ipad it is shown in very small screen.I have no idea of making ipad app so i cannot write code for ipad app,Can anybody tell me to make this application run on ipad without changing the code ?

Good answers will be appreciated……….

  • 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-18T09:34:18+00:00Added an answer on May 18, 2026 at 9:34 am

    In XCode, go into the Project menu, and select “Upgrade Current Target for iPad”. Choose the “Universal App” option. This will upgrade your target without changing any code at all. Open up the new iPad nib files, make sure everything looks good, and you should be good to go.

    (EDIT: you’ll need to manually upgrade each of your nib files, and resize and prepare them for the iPad version.)

    That said, the odds are that to make things look perfect, you’ll need to write some iPad code. To make this happen, create a file called CommonMacros.h and add:

    #ifndef __IPHONE_3_2    // if iPhoneOS is 3.2 or greater then __IPHONE_3_2 will be defined
    
    typedef enum {
        UIUserInterfaceIdiomPhone,           // iPhone and iPod touch style UI
        UIUserInterfaceIdiomPad,             // iPad style UI
    } UIUserInterfaceIdiom;
    
    #define UI_USER_INTERFACE_IDIOM() UIUserInterfaceIdiomPhone
    
    #endif // ifndef __IPHONE_3_2
    

    Now, if you want to branch your code between iPhone and iPad, just add

    #import "CommonMacros.h"
    

    to the top of your .m file. Then, anywhere in your code, you can use this method:

    if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad) {
        // iPad code here
    } else {
        // iPhone / iPod code here
    }
    

    One example of where you’d do this would be if you wanted to add some extra graphical element to the iPad version, or didn’t want the iPad version to have access to some iPhone feature.

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

Sidebar

Related Questions

Hi I want to make such kind of menu for my iPhone/iPad Application but
I have a fairly simple iPhone application that I want to have run on
I want to display an image in iPhone application on the whole screen but
I have an existing iPad - Application, no I want to make an universal
I am just going to submit my iphone application . But I just have
Hi have followed this tutorial using Core plot framework http://www.switchonthecode.com/tutorials/using-core-plot-in-an-iphone-application My project compiles, but
I have an application built for iPhone 2.0 but I would like to use
I have an application that perfectly works on iPhone os 2.2.1 but when I
I have made an application and I have installed it on my iphone, but
I want to develop an iPhone application on the Windows platform. I have Windows

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.