Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
这只能在代码中实现吗?或者我可以在 Interface Builder 中执行此操作。如果只能在代码中实现,我该怎么做?
选择两个标签,然后添加两个对齐约束:水平中心和垂直中心。