---
title: closeAllMediaPresentations()
framework: webkit
role: symbol
role_heading: Instance Method
path: webkit/wkwebview/closeallmediapresentations()
---

# closeAllMediaPresentations()

## Declaration

```swift
func closeAllMediaPresentations()
```

## See Also

### Deprecated

- [certificateChain](webkit/wkwebview/certificatechain.md)
- [loadSimulatedRequest(_:with:responseData:)](webkit/wkwebview/loadsimulatedrequest(_:with:responsedata:).md)
- [loadSimulatedRequest(_:withResponseHTML:)](webkit/wkwebview/loadsimulatedrequest(_:withresponsehtml:).md)
