如何在Xcode中居中对齐自定义对象

时间:2015-07-16 02:31:20

标签: ios xcode swift viewcontroller

我试图在其视图控制器中居中多个对象。我该如何处理?我可以使用一个图像的约束中心,但我不能多个,如下所示:

enter image description here

谢谢!

1 个答案:

答案 0 :(得分:2)

选择图像,标签和其他项目。然后在embedview,然后添加适当的中心约束。

enter image description here