Search code examples
iphoneobjective-cipadios7xcode5

Creating Universal application from existing iPhone application


I'm developing iPhone application which was created on Xcode 4.6. Now I'm running same application in Xcode 5.0 which works fine for me on iOS 7 also. Now I have to create an Universal application from existing application. I have google for it and found 2-3 solutions which talks about creating new xibs for iPad and change target to universal application. I want to know what is the easiest way to achieve this. My application was created on Xcode 4.6 with xibs for iPhone.


Solution

  • If you are building a universal app that supported for both iPhone and iPad then the best approach is to use Size classes. You can also customize your layout for a specific device (iPhone/iPad) by using size classes.