Chapter    2

Layout Recipes

The user interface and its layout is essential to most applications; especially so in iOS with its orientation-sensitive devices. Users pretty much expect apps of today to support both portrait and landscape orientation. They also expect apps to run on both iPhone and iPad. In other words, they expect your apps to have dynamic layouts.

This chapter shows you how to use Autolayout, a great new way to build dynamic user interfaces in iOS 6.

Recipe 2-1: Using Autolayout

Autolayout is a new feature in iOS 6 that provides a way to handle view layouts in iOS apps. It supersedes the old “springs and struts” layout system, which is still present but now more or less obsolete; all you could do with “springs and struts” can ...

Get iOS 6 Recipes: A Problem-Solution Approach now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.