When using Auto Layout, the goal is to provide a series of equations that have one and only one possible solution.
当你使用自动布局时,目标是提供一系列的方程式,而这些方程式有且只有一种解决方法。
Auto layout is designed to create layouts that dynamically adapt to their environment.
自动布局是用来动态改变布局的尺寸以适应它们的环境。
Auto Layout then calculates the size and location of each view based on these constraints.
自动布局然后根据这些约束来计算每个视图的尺寸和位置。
You will find that Auto Layout frequently provides multiple ways to solve the same problem.
你将发现自动布局常常提供不同方法来解决同一个问题。
Fortunately, mastering Auto Layout is no different from mastering any other programming task.
幸运地是,掌握自动布局跟掌握任何一门编程技术是一样的。
The internal Auto Layout engine is not designed to handle large scale changes in constraints, and you will see massive performance issues.
内部自动布局引擎不是设计来处理约束大规模的变化,你会看到巨大的性能问题。
The internal Auto Layout engine is not designed to handle large scale changes in constraints, and you will see massive performance issues.
内部自动布局引擎不是设计来处理约束大规模的变化,你会看到巨大的性能问题。
应用推荐