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.
我想用 SwiftUI 构建一个由三个 HStack 组成的屏幕。这些 HStack 中的每一个都有一个带有按钮的 VStack,并且按钮下方有一些文本。无论文本有多长,如何确保按钮全部居中对齐?