O'Reilly logo

Xcode 7 Essentials - Second Edition by Jayant Varma, Brett Ohland

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Adaptive UI

To understand the adaptive UI system, you need to understand how Size Classes and Auto Layout solve the challenges of developing modern apps.

iOS 9 supports four different sizes of iPhone and three different sizes of iPad. This doesn't include the new split view supported on iPads, any higher density iOS devices that are in development at Apple, or even supporting both portrait and landscape orientations on current devices.

Before Adaptive UI and Size Classes, a developer was forced to include a large amount of code that would manually resize, hide, show, and animate all of your elements. This was cumbersome and error prone, and it would break if Apple announced a new class of device to support. This is what the Adaptive UI system is ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required