SwiftUI/Layout fundamentals/ZStack
Jump to navigation
Jump to search
| Type | Structure |
|---|---|
| iOS | 13.0+ |
| iPadOS | 13.0+ |
| macOS | 10.15+ |
| MacCatalyst | 13.0+ |
| tvOS | 13.0+ |
| watchOS | 6.0+ |
| Website | developer |
Z軸方向に重ね合わせる。
Alignment を使用することも可能(省略も可)。
ZStack (alightment: .bottomLeading) {
...
}
SEE ALSO
External Link
[SwiftUI ZStackの配置、余白、背景色等の設定]