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.
当我处于横向模式时,我想在我的 Xcode 项目中保持 UILables 之间的间距。我有一个滚动视图,上面有几个标签,它在纵向模式下看起来不错,但是当我在横向模式下时,标签相互升起,看起来很糟糕。有什么办法可以保持横向标签之间的空间?
谢谢!
尝试在标签上使用自动调整大小的蒙版。如果这不起作用,只需在获得旋转事件时重新定位视图控制器中的标签。