Skip to content
Sample code for Auto Layout Part 2 Tutorial.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Tutorial: Auto Layout Part 2 Sample Code

Using Auto Layout in Interface Builder can prove trying. While it works reasonably well when you declare constraints on simple views hierarchies, Auto Layout in IB has a couple of major limitations.

  • As you saw in our previous Auto Layout tutorial, you cannot declare constraints across views that do not share the same superview in Interface Builder.
  • Moving even a solitary view in Interface Builder will often cause the system to create several new constraints that you do not want and that you cannot remove, potentially making much of your previous Auto Layout work moot.


Read more at: Tutorial: Auto Layout part 2

Sample code for Auto Layout Part 2 Tutorial.

You can’t perform that action at this time.