---
title: previewActionItems
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uiviewcontroller/previewactionitems
---

# previewActionItems

The quick actions displayed when a user swipes upward on a 3D Touch preview.

## Declaration

```swift
var previewActionItems: [any UIPreviewActionItem] { get }
```

## Return Value

Return Value An array of preview (peek) quick actions.

## Discussion

Discussion This property is for use with a preview (peek) view controller which you present in your implementation of the previewingContext(_:viewControllerForLocation:) delegate method.. Implement this method to provide quick actions for such a preview. When the user swipes upward on the preview, the system presents these quick action items in a sheet below the preview. The default implementation of this method returns an empty array. For guidance on appropriate items to include as preview quick actions, read the material on 3D Touch in the iOS Technologies chapter of iOS Human Interface Guidelines. For more information on preview quick actions, see UIPreviewActionItem and UIPreviewAction.

## See Also

### Deprecated properties

- [shouldAutorotate](uikit/uiviewcontroller/shouldautorotate.md)
- [automaticallyAdjustsScrollViewInsets](uikit/uiviewcontroller/automaticallyadjustsscrollviewinsets.md)
- [bottomLayoutGuide](uikit/uiviewcontroller/bottomlayoutguide.md)
- [interfaceOrientation](uikit/uiviewcontroller/interfaceorientation.md)
- [isModalInPopover](uikit/uiviewcontroller/ismodalinpopover.md)
- [searchDisplayController](uikit/uiviewcontroller/searchdisplaycontroller.md)
- [topLayoutGuide](uikit/uiviewcontroller/toplayoutguide.md)
