---
title: delegate
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uiviewcontrollerpreviewing/delegate
---

# delegate

The previewing view controller’s delegate for managing preview (peek) and commit (pop) view controllers.

## Declaration

```swift
var delegate: any UIViewControllerPreviewingDelegate { get }
```

## Discussion

Discussion Set a previewing view controller’s 3D Touch delegate when you register the view controller by calling its registerForPreviewing(with:sourceView:) method. For information on the methods the delegate can implement, read UIViewControllerPreviewingDelegate.

## See Also

### Accessing properties of a 3D Touch previewing view controller

- [sourceView](uikit/uiviewcontrollerpreviewing/sourceview.md)
