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 11.x 中更改大小。如果你想操纵你需要以编程方式实现它的大小,例如通过转换:
stepper.transform = stepper.transform.scaledBy(x: 1.25, y: 0.9)