uistackview 什么版本可以用

Asked on 06/12/2025

1 search

UIStackView was introduced in iOS 9, which means it has been available for use since then. If you are developing for iOS 9 or later, you can use UIStackView in your UIKit applications.

For more information on using UIStackView and other UIKit features, you might find the session Get started with Dynamic Type helpful, as it discusses using UIStackView for dynamic layouts.