---
title: view
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uipreviewinteraction/view
---

# view

The view from which the preview interaction receives touch events.

## Declaration

```swift
weak var view: UIView? { get }
```

## Discussion

Discussion A preview interaction operates on the view that’s provided at initialization time. Use this property to obtain a reference to that same view. Note that this is a weak property — the preview interaction doesn’t retain a reference to the view it’s provided.

## See Also

### Handling preview interactions

- [cancel()](uikit/uipreviewinteraction/cancel().md)
- [location(in:)](uikit/uipreviewinteraction/location(in:).md)
