iPhone Duo SwiftUI examples
Explore SwiftUI APIs, components, and modifiers on iPhone Duo. Compare portrait and landscape layouts in closed, partially open, and fully open states, with Swift code and Apple documentation.
20elements
ArrangementView
Overlay Arrangement Style
An arrangement view style that layers the primary view over the secondary view in z-order.
Explore Overlay Arrangement Style on iPhone Duo in portrait and landscape across closed, partially open, and fully open states, with SwiftUI code and Apple API documentation.
SwiftUI code
ArrangementView {
Color.blue
.frame(width: 210, height: 210)
} secondary: {
Color.orange
}
.arrangementViewStyle(.overlay)Compatibility
iOS 27.1+ iPadOS 27.1+
Tags
Found an issue or have a suggestion?
All variants
Every available iPhone Duo screenshot for Overlay Arrangement Style.