Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

ios downward compatibility

Posted on 2012-12-30
3
Medium Priority
?
455 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 2000 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: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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

I recently went through the process of creating an installable image of an iPhone mobile app (an .ipa file) that beta testers could load onto their test devices. The process involved quite a few steps, but both Appcelerator and Diawi.org had decent …
What's a UDID? If you're involved in developing, testing, or even reviewing an iOS application that's in beta, then at some point you may need to know the UDID for any iOS devices that you'll be testing on. What's the UDID? It stands for Unique Dev…
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.
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Suggested Courses

886 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