Search code examples
iosios6app-store-connectios7

Can I support iOS 6 and iOS 7 at the same time?


We have an agreement with our customers to support current version plus one back. I cannot drop iOS 6 until iOS 8 is released.

Is it possible to use iOS 7 enhancements and still support 6. I would love to deploy two version of the app or have runtime conditionals, however, I do not see how it is possible.


Solution

  • You definitely could. What do you mean about not knowing if it's possible? You have to wrap a bunch of your code in if() statements or preprocessor macros to determine API availability, and maybe include corresponding XIBs for each version if necessary.

    People have been supporting previous iOS versions for a long time.

    Also just want to add, that MOST devices that support iOS6 also support iOS7. There is minimal reason to not add support for iOS7 for fear of losing iOS6 customers. Almost all iOS5 capable devices can run iOS6 as well. The iPad1 is stuck on iOS5, I know. A commenter stated that the 3GS and the 4th Gen iPod don't get iOS7.

    So really, it's not a big deal to drop support for iOS6 when 7 comes out, if you were only targeting 6 anyway. You'll piss off some jailbreakers and the other people will just have to use OTA updates to be on 7.