March 2014
Intermediate to advanced
672 pages
40h 11m
English
Although you can think of constraints as hard “math,” they’re actually just preferences. iOS finds a layout solution that best matches your constraints; this solution may not always be unique. Here are a few basic facts about constraints:
Constraints are relationships, not directional. You don’t have to solve the right side to calculate the left side.
Constraints have priorities. Priorities range numerically from 0 to 1,000. The Auto Layout system uses priorities to sort constraints. Higher priorities are always satisfied ...
Read now
Unlock full access