What is autoLayout in xcode 4.5?

Please give me a description of the use of the autodetection feature in Xcode 4.5. What advantage do we get with this function?

+4
source share
2 answers

The automatic layout allows you to create a set of restrictions that determine how user interface elements are displayed on the screen. Instead of using the standard โ€œspring and strutโ€ positioning method, Auto Layout allows these elements to move and move depending on the priority list of rules - I think, โ€œthe left side of one button should always be at a distance of 30 from the right side of the other button.

More details.

+1
source

Source: https://habr.com/ru/post/1447433/


All Articles