I've made an iPhone application in Xcode 5.1, but now I would like to run the same application on iPad.
How to I run it on iPad without compatibility mode?
I've made an iPhone application in Xcode 5.1, but now I would like to run the same application on iPad.
How to I run it on iPad without compatibility mode?
Solution:
Duplicate your iPhone-Storyboard and rename it MainStoryboard_iPad.storyboard
Close Xcode and then open this file any text editor.
Search for targetRuntime="iOS.CocoaTouch"and change it to targetRuntime="iOS.CocoaTouch.iPad"
Change the code in the MainStoryboard_iPad.storyboard from:
to
Now save everything and reopen Xcode. The iPad-Storyboard has the same contents as the iPhone-file but everyting could be disarranged.
Hopefully this will help you
Converting Storyboard from iPhone to iPad Converting iPhone app to a Universal app in Xcode 4 http://iphonedevelopment.blogspot.com/2010/04/converting-iphone-apps-to-universal.html