Solved

ios downward compatibility

Posted on 2012-12-30
3
449 Views
Last Modified: 2012-12-30
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 ?
0
Comment
Question by:sniger
  • 2
3 Comments
 
LVL 19

Expert Comment

by:darbid73
ID: 38731940
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.
0
 

Author Comment

by:sniger
ID: 38731956
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 ?
0
 
LVL 19

Accepted Solution

by:
darbid73 earned 500 total points
ID: 38731969
I honestly think that if you want to target iOS5 that you should not use Autolayout.  If you are using xCode 4.5 you need to know that it turns it automatically on in interface builder so you need to turn it off for each new nib file you add.

Unless you are really fast at writing your app iOS6.1 will be out soon.  

Even an iPhone 3GS can use iOS6.  The only people who are right now on iOS5.X are a few people waiting for an update of a special app, all the jail breakers and all the grandparents waiting for their grandchildren to visit and update their iPhone for them.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Ever wanted to watch videos in your computer from the bed without the need of standing up and shutting down the computer?  Is your computers operating system Windows XP, Windows Vista or Windows 7?  Do you own a iOS device? If all the answers were y…
The Basics of Storyboard Storyboards were first introduced to developers in the release of iOS 5. They save the developer the trouble of designing each screen’s interface in a different file. The storyboard allows you to see the conceptual mockup o…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now