Start Free Trial
ios downward compatibility
I want to use IOS6 new features like autolayout, but also make my app compatible with ios5 and ios4 , does this mean i have to have 2 different version of application, when I decide to submit it to the apple store ?
8/22/2022 - Mon
In my opinion Apple does not really promote or make it easy to target "old" iOS versions. For example with xCode 4.5 you will have trouble testing ios4 now anyway. Also iPhone 3G will also no longer be testable with Xcode.
So with this in mind the answer to your question is that you have to code for both features. The old springs and struts is automatically translated by iOS 6 into auto layout, but the reverse does not happen.
I could paraphrase all the things you need to think about when using both the old and new for your layout but
read the last section on "Adoption Auto Layout"
This will explain the issues of using both, but unfortunately only really discusses moving to auto layout and assumes the user is using iOS 6.
ok, so how could I condition that if OS6 use autolayouts and if older use struts ?
Is it possible ?. Can I get away with just writing an app which works only on IOS 6 ?
ASKER CERTIFIED SOLUTION
THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
Plans and Pricing
Certified Expert Program
© 1996-2023 Experts Exchange, LLC. All rights reserved. Covered by US Patent