Solved

ios downward compatibility

Posted on 2012-12-30
3
447 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Vimeo stream in ios app 3 35
Not able to email 3 hour iphone video to 4 84
Jailbreak and Rooting on mobile devices 10 132
Questions on native iOS/ Outlook iOS Mail 5 45
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…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.
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.

863 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

29 Experts available now in Live!

Get 1:1 Help Now