Converting an iPhone only application to universal?

Discussion in 'iOS Programming' started by Mcdaniels111, Jul 13, 2017.

  1. Mcdaniels111 macrumors newbie

    Oct 15, 2016
    Anyone have experience converting an iPhone only application to a universal application? What was your experience like and were there any challenges/how did you get around them?
  2. Dookieman macrumors 6502

    Oct 12, 2009
    You'll need to add a new target for the platform you want and will need to rebuild some view controllers since things will most likely be structured slightly differently. You'll be able to reuse the majority of the business logic, which helps.
  3. Mascots macrumors 68000


    Sep 5, 2009
    UISplitViewController, if you'll use that, is a bag of surprises.
  4. PhoneyDeveloper macrumors 68040


    Sep 2, 2008
    These days with storyboards and constraints you should only need a single target. Constraints and other aspects of adaptive UI should get you most of the way there. There are only a few kinds of UI that is specific to iPads, like popovers, where your code needs two code paths. If you want to have different screen layouts for the two platforms you'll probably want to use child view controllers so the view controller code will be the same for both platforms but you'll have some parent view controllers that only are used on iPads.
  5. MarkCollette macrumors 68000


    Mar 6, 2003
    Toronto, Canada
    Design your iPad app from scratch, what the features should be, how navigation should be, how the UI should be laid out. Ok, no see what can be re-used from the iPhone code. Does it give you ideas for changing your iPhone app? How would you do a Plus model iPhone, which behaves like an iPad when in landscape and like an iPhone when in portrait orientation.

Share This Page