closeAllMediaPresentations(completionHandler:)
Closes all media the web view is presenting, including picture-in-picture video and fullscreen video.
Declaration
func closeAllMediaPresentations(completionHandler: (@MainActor @Sendable () -> Void)? = nil)func closeAllMediaPresentations() asyncParameters
- completionHandler:
A closure the system executes after it completes closing all media presentations.