Auto Layout Guide
Auto Layout Concepts
Solve a system of constraints to determine your layout.
Every constraint is of the form
y = m*x + b
, where y and x are attributes of views, and m and b are floating point values.Use attributes
leading
andtrailing
instead ofleft
andright
to deal with RTL languages.Constraints are cumulative, and do not override each other. You must …
Keep reading with a 7-day free trial
Subscribe to Codestar’s Newsletter to keep reading this post and get 7 days of free access to the full post archives.