0

I'm trying to make view inside NavigationView of adaptiveSheetPresentationController transparent background but none of the answers I found helped me.

The sheet is using this code: https://stackoverflow.com/a/67994666/16529673

.adaptiveSheet(isPresented: $isPresented1, detents: [.medium()], smallestUndimmedDetentIdentifier: .large){
                                NavigationView {
                                    ZStack{
                                        
                                        Text("Hello World")
                                        
                                    }
                                    
                                }
                                
                                
}

Does anyone know if this is possible in SwiftUI? I want to show a small half modal, with with material background.

Any advice is much appreciated!

0 Answers0