---
title: "dismissContentProposal(for:animated:completion:)"
framework: avkit
role: symbol
role_heading: Instance Method
path: "avkit/avcontentproposalviewcontroller/dismisscontentproposal(for:animated:completion:)"
---

# dismissContentProposal(for:animated:completion:)

Dismisses the current content proposal.

## Declaration

```swift
func dismissContentProposal(for action: AVContentProposalAction, animated: Bool, completion block: (() -> Void)? = nil)
```

```swift
func dismissContentProposal(for action: AVContentProposalAction, animated: Bool) async
```

## Parameters

- `action`: A content proposal action that indicates whether the user accepted, rejected, or deferred the content proposal.
- `animated`: A Boolean value that indicates whether the content proposal dismisses in an animated manner.
- `block`: An optional callback that the system calls when its hidden the conten proposal.

## Mentioned in

Presenting Content Proposals in tvOS

## Discussion

Discussion Call this method to indicate the user action when leaving this proposal.

## See Also

### Dismissing the Proposal

- [AVContentProposalAction](avkit/avcontentproposalaction.md)
