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
Platform Compatibility
Tags
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)
}
}
}