FullScreenCoverType

public struct FullScreenCoverType : IntrospectableViewType

An abstract representation of .fullScreenCover in SwiftUI.

public struct ContentView: View {
    @State var isPresented = false

    public var body: some View {
        Button("Present", action: { isPresented = true })
            .fullScreenCover(isPresented: $isPresented) {
                Button("Dismiss", action: { isPresented = false })
                    .introspect(.fullScreenCover, on: .iOS(.v14, .v15, .v16, .v17)) {
                        print(type(of: $0)) // UIPresentationController
                    }
            }
    }
}