Here's my predicament. I have an app that I would like to update to handle the new screen size (among other things) of the iPhone 5. In order to do this I need to target iOS 6. But by targetting iOS 6 I'm preventing a large number of iPhone users from downloading my app since it will take quite some time for people to get around to upgrading to iOS 6 on their iPhone 4/4S. So what is the best approach? How do I move ahead, but at the same time provide backwards compatibility? Any suggestions would be great.
Thanks.
Change deployment targetSelect your app target and go to General tab, under Deployment Info change target to whatever version you want to support.
In short, every application that runs on one of Apple's platforms has a deployment target. A deployment target is nothing more than the minimum version of the operating system the application can run on. Fire up Xcode and create a new project by choosing the App template from the iOS > Application section.
Update deployment target If you haven't already, change the deployment target to the lowest iOS version you want to support, select the project name then select your app target, choose General and change the version in Deployment Info.
If your app supports the new 4" iPhone 5 screen size, there is no need to exclude support for previous iOS versions.
All you need to do is create a 4" sized launch image, and iOS 6 will recognise that and launch your app with the full screen size. Older versions of iOS will ignore the strange size launch image, and continue to work as they always have.
You do need to upgrade to Xcode 4.5 to add this image, but you can leave the "Deployment Target" for your project at 5.0 or 4.3 or whatever.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With