Reputation: 7227
My app is basically built in iOS sdk 4, and it is nearly completed.
I am looking to use one or two new features in sdk 5, should I need to create or re-factor the current app in sdk 5 ?
Could I submit an app with multiple sdk versions to Apple ? (e.g. one is built & deployed in sdk4, and the other is built & deployed in sdk5) ?
Any smart ways to tackle the above problem ?
Upvotes: 1
Views: 232
Reputation: 15376
You us the 5.0 SDK and set the deployment target to 4.x. You will need to check if classes and selectors are available using NSClassFromString
and -respondsToSelector:
.
Have a look at 'Session 130 - Future Proofing your Application' from WWDC 2010.
Upvotes: 4