另一方面,在第一种方法中,如果想要红蓝视图的上部和底部对齐,你必须确保它们的上部和底部使用了同样的常量值。
On the other hand, in the first solution, If you want the top and bottom of the views to align, you must make sure their top and bottom constraints use the same constant value.
该按钮移动以使它的底部边缘与标签对齐。
The button moves so that its bottom edge is lined up with the label.
你应该会发现,模型底部很难与地板对齐,这是因为目前的网格大小使你无法做到这点。
You may find that you can't quite line up the bottom of the model with the floor because the current size of the grid prevents it.
应用推荐