Post

Replies

Boosts

Views

Activity

Reply to iOS 17 Inspector does not respect new iOS 16.4 sheet modifiers such as .presentationBackground
Thats the way I go, feel free to give it a trail. import SwiftUI @main struct UltraThinMaterialApp: App { var body: some Scene { WindowGroup { ContentView() } } } struct ContentView: View { @State private var showingSheet = false var body: some View { Button("Show Sheet") { showingSheet = true } .sheet(isPresented: $showingSheet) { // Sheet content with ultra-thin material effect VStack { Text("This is an ultra-thin material sheet.") Button("Dismiss") { showingSheet = false } } .frame(width: 300, height: 200) .background(Material.ultraThin, in: RoundedRectangle(cornerRadius: 10)) } } }
Dec ’23