Solved

ios downward compatibility

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

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 20

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

When Apple released Swift last year, the aim was to introduce a new programming language for Cocoa and Cocoa Touch that was fast, easy and effective, like the name connotes. Apple succeeded. Swift is designed to couple with Objective-C program…
     Intro      In this article, I will show you how to parse a JSON in Swift using an open source library called SwiftyJSON (https://github.com/SwiftyJSON/SwiftyJSON). If you haven't heard of a JSON before, it stands for JavaScript Object Notation…
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.
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

679 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