Solved

ios downward compatibility

Posted on 2012-12-30
3
445 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
Comment Utility
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
Comment Utility
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
Comment Utility
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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Suggested Solutions

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 …
There is a security feature on iOS devices that is nearly impenetrable when it has been activated.  This article will provide some possible solutions as well as necessary steps to take to ensure you do not end up with a locked device.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
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.

762 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

8 Experts available now in Live!

Get 1:1 Help Now