---
title: "init(view:)"
framework: uikit
role: symbol
role_heading: Initializer
path: "uikit/uipreviewinteraction/init(view:)"
---

# init(view:)

Returns a newly initialized preview interaction for the specified view.

## Declaration

```swift
init(view: UIView)
```

## Parameters

- `view`: The view for which the preview interaction should respond.

## Return Value

Return Value An initialized preview interaction.

## Discussion

Discussion Preview interactions operate on touches within a specified view. Unlike gesture recognizers, the view doesn’t maintain a strong reference to preview interactions. You must therefore retain a reference to the preview interaction to ensure that it continues to receive touches from the view.
