Is there a difference between iOS 7 Auto Layout and iOS 8 Adaptive Layout? Or is it just -the adaptive layout- a more enhanced version with more features to help building more flexible layouts that fit different screen sizes?
I really can't figure out a real difference between both terms, or am I missing something?
The introduction of Adaptive Layout caused a huge paradigm shift for iOS app designers. By using it, you can now create a single layout for your app which works on all current iOS devices — without crufty, platform-specific code! This tutorial serves as your introduction to Adaptive Layout.
Auto Layout constraints allow us to create views that dynamically adjust to different size classes and positions. The constraints will make sure that your views adjust to any size changes without having to manually update frames or positions.
Auto layout is a property you can add to frames and components. It lets you create designs that grow to fill or shrink to fit, and reflow as their contents change. This is great when you need to add new layers, accommodate longer text strings, or maintain alignment as your designs evolve.
Use layout guides to replace the placeholder views you may have created to represent inter-view spaces or encapsulation in your user interface. Traditionally, there were a number of Auto Layout techniques that required placeholder views.
Working with autolayout in iOS 7 and iOS 8 is the same. Adaptive layout is really just an umbrella term for all the new layout tools in Xcode 6 and iOS 8-- one of which being Autolayout. Though autolayout isn't new, it's still a part of the adaptive layout toolset, and it's much improved in iOS 8. Other adaptive layout tools include Size Classes and Adaptive Fonts. I recommend reading this Ray Wenderlich article that has some examples of the new tools: http://www.raywenderlich.com/83276/beginning-adaptive-layout-tutorial
Auto Layout: With Auto Layout, you can define constraints to control how your user interface adapts immediately to any size changes
Adaptive Layout: Design once in common storyboard and use for both iPad and iPhone.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With