Convert iPhone App to Universal App

Discussion in 'iPhone/iPad Programming' started by RagingGoat, Jan 15, 2013.

  1. macrumors 6502

    Joined:
    Jun 21, 2010
    #1
    My app is currently iPhone only but I'm wanting to make it universal and implement a UISplitView for the iPad. I'm not sure where to start or even how to change it to a universal app. I didn't use storyboards in the app so I have a feeling this will be more difficult because of that. Can someone point me in the right direction?
     
  2. macrumors demi-god

    ChristianJapan

    Joined:
    May 10, 2010
    Location:
    日本
    #2
    Are you programmatically create the UI or use IB ?

    When you do it by code (e.g. Standard controls, simple lists and layout) or web view it quite easy.
    Make sure that during app initialization you get the screen dimensions and place/resize the controls accordingly.

    If you do it by IB you might end up in two sets of screens (I preferred the manual way).
    Also make sure that the SplitView is not called on the iPhone; it would crash. I'm not at my desk but there was some piece of code to detect what device is used and if SplitView is safe to call. Developer.apple.com or stackoverflow.com will give you samples.
     
  3. Moderator

    dejo

    Staff Member

    Joined:
    Sep 2, 2004
    Location:
    The Centennial State
    #3

Share This Page