O'Reilly logo

iOS Auto Layout Demystified by Erica Sadun

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

3. Interface Builder Layout

Working with constraint-based design in Interface Builder (IB) can sometimes prove a frustrating experience for developers new to Auto Layout. When you work with IB, you must move away from a normal developer mindset. You can’t approach IB-based Auto Layout by asking, “Which constraints do I want to add to express my design goals?” Instead, you need to consider, “How do I modify the constraints that I’ve built and that Interface Builder has given me to achieve my design goals?”

Because IB is such an involved party in the Auto Layout process, you need to understand why it seems to “thwart” your design efforts and when it will override you on your behalf. This chapter introduces the tools and rules of IB layout, explaining ...

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