The user interface and its layout are essential to most applications, especially in iOS with its orientation-sensitive devices. Users expect apps to support both portrait and landscape orientation in most cases. They also expect apps to run on both the iPhone and iPad. In other words, they expect your apps to have dynamic layouts.
This chapter shows you how to use Auto Layout, a great way to build dynamic user interfaces in iOS 7. Auto Layout is a feature first introduced in Xcode 4, and it provides a way to handle view layouts in iOS apps via the interface builder as well as programmatically. Auto Layout offers a very powerful model with which you can build layouts that scale and adapt to screen rotations in a way ...