iosstoryboardxcode5xcode6ios-universal-app

How to migrate from iPhone/iPad storyboards to universal storyboard


I have a project created in Xcode 5. The "Deployment Info" settings says Devices: Universal but has separate iPhone and iPad settings and corresponding iPhone and iPad storyboards.

Now I'm developing the same project in Xcode 6 and I want to use one universal storyboard instead of two storyboards. I have only worked on the iPhone storyboard and haven't touched the iPad one. Is it possible to ditch the iPad storyboard and convert the existing iPhone storyboard to be my main universal storyboard?


Solution

  • I adapted this tutorial and a similar solution by @tharkay to create this solution below.

    From:

    targetRuntime="iOS.CocoaTouch.iPad" 
    

    to:

    targetRuntime="iOS.CocoaTouch"
    

    enter image description here

    enter image description here

    enter image description here