---
title: "collaborationViewShouldPresentPopover(_:)"
framework: sharedwithyou
role: symbol
role_heading: Instance Method
path: "sharedwithyou/swcollaborationviewdelegate/collaborationviewshouldpresentpopover(_:)"
---

# collaborationViewShouldPresentPopover(_:)

Asks the delegate whether the system can display the popover.

## Declaration

```swift
optional func collaborationViewShouldPresentPopover(_ collaborationView: SWCollaborationView) -> Bool
```

## Parameters

- `collaborationView`: The related SWCollaborationView.

## Return Value

Return Value true if the system should present the popover; otherwise false.

## See Also

### Responding to popover activity

- [collaborationViewDidDismissPopover(_:)](sharedwithyou/swcollaborationviewdelegate/collaborationviewdiddismisspopover(_:).md)
- [collaborationViewWillPresentPopover(_:)](sharedwithyou/swcollaborationviewdelegate/collaborationviewwillpresentpopover(_:).md)
