Search code examples
ios5ios6iphone-5

New app that will work on both iPhone 5 and older versions


So, I've been reading and reading up on the subject but nowhere has an exact answer for me. How can you make an app available for the iPhone5 and the earlier models? Do you simply have to have an iOS5 version and an iOS6 version?

Anything constructive helps, thanks guys.


Solution

  • Build an app using iOS 6 as the Base SDK and use the Auto Layout feature to make screens that can scale for all type of screens. You'll need Xcode 4.5 to do this.

    Get started with Auto Layout here:
    http://www.raywenderlich.com/20881/beginning-auto-layout-part-1-of-2
    http://www.raywenderlich.com/20897/beginning-auto-layout-part-2-of-2

    Other apps will also work on iPhone 5 but will have black bars on top and bottom.