iPad SwiftUI layouts
Explore SwiftUI APIs, components, and modifiers with interactive iPad previews, Swift code, and Apple documentation.
24elements
View
Background Extension Effect
Adds the background extension effect to the view. The view will be duplicated into mirrored copies which will be placed around the view on any edge with available safe area. Additionally, a blur effect will be applied on top to blur out the copies
Explore Background Extension Effect on iPad in landscape, with SwiftUI code and Apple API documentation.
SwiftUI code
NavigationSplitView {
} detail: {
ZStack {
VStack(spacing: 0) {
Image(.cats)
.resizable()
.aspectRatio(contentMode: .fill)
.frame(minWidth: 0, maxWidth: .infinity, minHeight: 0, maxHeight: .infinity)
.frame(maxHeight: .infinity)
Image(.cats)
.resizable()
.aspectRatio(contentMode: .fill)
.frame(minWidth: 0, maxWidth: .infinity, minHeight: 0, maxHeight: .infinity)
.backgroundExtensionEffect()
.frame(maxHeight: .infinity)
}
}
}Compatibility
iOS 26.0+ iPadOS 26.0+ macOS 26.0+ watchOS 26.0+ tvOS 26.0+ visionOS 26.0+
Tags
Found an issue or have a suggestion?
All variants
Every available iPad screenshot for Background Extension Effect.