---
title: "previewInteractionShouldBegin(_:)"
framework: uikit
role: symbol
role_heading: Instance Method
path: "uikit/uipreviewinteractiondelegate/previewinteractionshouldbegin(_:)"
---

# previewInteractionShouldBegin(_:)

Asks the delegate whether a preview interaction is allowed to begin.

## Declaration

```swift
optional func previewInteractionShouldBegin(_ previewInteraction: UIPreviewInteraction) -> Bool
```

## Parameters

- `previewInteraction`: The preview interaction that’s responding to user input.

## Return Value

Return Value true if the preview interaction should continue into the preview and commit phases; otherwise false.

## Discussion

Discussion If you don’t implement this optional method, the default return value of true is assumed. When false, no further delegate calls are made for the specified preview interaction until the user restarts the 3D Touch interaction.

## See Also

### Managing preview interactions

- [previewInteraction(_:didUpdatePreviewTransition:ended:)](uikit/uipreviewinteractiondelegate/previewinteraction(_:didupdatepreviewtransition:ended:).md)
- [previewInteraction(_:didUpdateCommitTransition:ended:)](uikit/uipreviewinteractiondelegate/previewinteraction(_:didupdatecommittransition:ended:).md)
- [previewInteractionDidCancel(_:)](uikit/uipreviewinteractiondelegate/previewinteractiondidcancel(_:).md)
