DEV Community

Tomopteris
Tomopteris

Posted on

Lesson 18 Swift Discussion

• Why should developers use adaptive layout tools in their applications?

They should use adaptive layout tools for when they want a relatively universal app. If a user wants to switch orientations on the app, it will work with no issue.

• What is the difference between Auto Layout, constraints, and stack views?

Auto layout is an adaptive interface which forces elements to maintain a relative position no matter the screen size, or orientation.

Constraints define how a view is displayed, or sized.

Stack views stack elements in the user interface in a column, or in a row from left to right.

Top comments (0)