Autolayout and minium ios version - ios

I would like to know whether there is minimum IOS version for autolayout (like will it be ok on ios 4?). I am reading this https://developer.apple.com/Library/ios/documentation/UserExperience/Conceptual/AutolayoutPG/Introduction/Introduction.html and it say it is included in xCode 5. Is there minimum ios version to use autolayout?

iOS 6.0 is the minimum version. If you see, for example, the NSLayoutContraint documentation you'll see the version number information there.

Related

Disadvantages of Xcode7.3 with deployment target 7.0 Objective-C

In my iOS project following are the key points:
1. Xcode 7.3
2. Objective-C
3. Deployment target 7.0
4. UI designed using Xib with Autoresizing
Do i need to upgrade it from Objective-C to Swift as ios 11, Xcode 9.2 released?
If I change Deployment target,warnings in project increasing, Does this affect anything?
I know this is non-coding question but I really want know.
Thank you.
Minimum deployment target for Xcode 9 is 8.0 not 7.0 , With coding there is no problem , but Xcode 9 storyboard add safeArea for running layout properly in iPhone x , also I don't think there is users now running iOS 7 , regarding swift or objective-c you can accomplish anything with any of them but swift is much easier , all tutorial now written in swift for new features every WWDC

Can UIStackView support iOS 8 or 7?

I know that UIStackview is a new feature in iOS 9. If I want my app to support iOS 8 or iOS 7, does that mean I shouldn't use stack views?
It looks like it's for iOS 9+.
UIStackView
Availability
Available in iOS 9.0 and later
UIStackView is only available in "iOS 9.0 and later".
If you need to support earlier versions of iOS, check out OAStackView, a drop-in replacement which "implements most of the features from UIStackView" and supports iOS 7+.
A few minor features haven't been finished yet. I tried it out using the UIStackView-Playground project and it works pretty well.
You could also check out MarkupKit (I'm the project's author):
https://github.com/gk-brown/MarkupKit
The LMColumnView and LMRowView classes are very similar to UIStackView but work with iOS 8. They also have a couple features that UIStackView doesn't have, such as the ability to set a background color and weight-based distribution.
See this article for more information:
https://gkbrown.wordpress.com/2015/09/29/using-uistackview-with-markupkit/
UIStackView is supported only in iOS 9+. For people looking for a backport to iOS7/8:
https://github.com/oarrabi/OAStackView

Support from iOS 4.3/ iOS 5 onwards

I am planning to use different storyboards (one with and another without autolayout) because I need to have my app from 4.3 to 5.0(without autolayout) and 6.0 onwards (with autolayout) but I cannot build it on my device as I'm failed by
Illegal Configuration: Auto Layout on iOS Versions prior to 6.0
I don't think I should disable my storyboard autolayout as I got another storyboard to cater the old devices.
How do I able to manage this?
Note: regarding why I need to support the iOS 4.3 / 5, I cannot make the decision as my business management made that decision. If I support iOS 5 onwards, is there a way to counter for this?

How to upgrade your project for ios 3.0 to ios 6.0 onwords

Right now I am working on non-arc project for ios3.0. They haven't designed anything by interface builder. Everything coded is both for landscape view and portrait view separately. My Problem is when I try to add the same image for background of another screen, it appears to be cropped. also enabling the auto resize subviews gives me error. When I try to set views for portrait and landscape view, it doesn't work.
one more thing, that project is only developed for iPad. if they want it to be done for iPhones, should i have to start from scratch separately for iPhone because of above mentioned problems ?
please suggest me if the upgraded app will support for 64 bit ipad retina.
Thanx in advance
Make your project universal by changing the setting shown in the image below. Also it is better to drop support for iOS 3 as nobody uses it anymore and support iOS 6 and above. It will give much more options and flexibility regarding frameworks and layouts.
To support 64-bit devices you have to build with iOS 5 or higher as minimum supported iOS version. Best practice is to support the two latest releases (iOS 6 and 7 at this moment) as most iOS users update their devices fast after each os release.

RTL (Right-to-left) via auto layout broken on iOS 6.1 / iOS 7.0?

can it be that the RTL concept using auto layout is not working on iOS 6.1 and iOS 7.0 devices (also simulator) anymore? It is working for the iOS 6.0 (have only the simulator to check with) - so when setting the device language to Arabic, it mirrors the UI as expected for the 6.0 version.
(The Direction for the horizontal constraint is set to: "Leading to Trailing")
Have googled this issue for days, but without success...
Thanks for any help!
Ok. Seems that iOS 6.1+ devices (simulator) require having the locale (ar) having defined - adding it to the project will solve this problem.

Resources