5. View Constraints
The iOS 6 software development kit (SDK) has revolutionized view layout. The days of sizing masks, struts, and springs are over. If you aren’t familiar with those, don’t worry. If you are familiar with them, you’re about to learn something wonderful, fresh, and new. Apple’s layout features will make your life easier and your interfaces more consistent, regardless of device geometry and orientation. This chapter introduces code-level constraint development. You’ll discover how to create relations between on-screen objects and specify the way iOS automatically arranges your views. The outcome is a set of robust rules that adapt to screen geometry.
What Are Constraints?
Constraints are rules that allow you to describe your layout ...