Hi there,
Feedback ID: FB13479210
XCode 15.1. iOS 17.2
Inspector sheet is not shown as ultra thin material as expected.
Full code:
import SwiftUI
@main
struct InspectorExample: App {
var body: some Scene {
WindowGroup {
InspectorExampleView()
}
}
}
struct InspectorExampleView: View {
@State private var inspectorPresented = false
@State private var departmentId: String?
@State private var employeeIds: String?
var body: some View {
Button("Click") {
inspectorPresented = true
}.background(.white)
.inspector(isPresented: $inspectorPresented) {
Text("Sample Inspector")
.presentationBackground(.ultraThinMaterial)
}.background(.blue)
}
}