Contents

endSheet(_:)

Ends a SwiftUI hosted sheet presentation.

Declaration

@MainActor @preconcurrency func endSheet<V>(_ host: NSWindow.HostingSheetRepresentation<V>) where V : View

Discussion

If the hosting sheet representation was invalid or no longer presented, no effect happens.