SwiftUI ⟩ view ⟩ drawing ⟩ background
background style
.background()
view .background(.ultraThinMaterial) // material .background(Image("Blob 1")) // image .background(.regularMaterial, // material in shape in: RoundedRectangle(cornerRadius: 8) )
View ⟩
.background(_:ignoresSafeAreaEdges:)
.background(_:in:fillStyle:) - background with a particular shape
Design+Code ⟩ Material and Foreground Style
Sundell ⟩ Background & overlay in Swift
Last updated 6 months ago
Was this helpful?