---
title: "dismissPopover(_:)"
framework: sharedwithyou
role: symbol
role_heading: Instance Method
path: "sharedwithyou/swcollaborationview/dismisspopover(_:)"
---

# dismissPopover(_:)

Dismisses the popover.

## Declaration

```swift
func dismissPopover(_ completion: (() -> Void)? = nil)
```

```swift
func dismissPopover() async
```

## Parameters

- `completion`: The system calls this handler after the system finishes dismissing the popover.
