---
title: contextualActionsPreviewImage
framework: avkit
role: symbol
role_heading: Instance Property
path: avkit/avplayerviewcontroller/contextualactionspreviewimage
---

# contextualActionsPreviewImage

An image to show alongside the contextual actions.

## Declaration

```swift
@NSCopying var contextualActionsPreviewImage: UIImage? { get set }
```

## Discussion

Discussion Use this to enhance a contextual action with more context. For example, if the action presents a button to jump back in time, show a preview frame of where in the movie the action skips to. note: The system only displays an image if the contextualActions property contains a single value.

## See Also

### Configuring the visionOS player UI

- [infoViewActions](avkit/avplayerviewcontroller/infoviewactions.md)
- [customInfoViewControllers](avkit/avplayerviewcontroller/custominfoviewcontrollers.md)
- [contextualActions](avkit/avplayerviewcontroller/contextualactions.md)
- [contextualActionsInfoView](avkit/avplayerviewcontroller/contextualactionsinfoview.md)
- [requiresMonoscopicViewingMode](avkit/avplayerviewcontroller/requiresmonoscopicviewingmode.md)
- [experienceController](avkit/avplayerviewcontroller/experiencecontroller.md)
- [groupExperienceCoordinator](avkit/avplayerviewcontroller/groupexperiencecoordinator.md)
- [viewport](avkit/avplayerviewcontroller/viewport.md)
- [AVViewport](avkit/avviewport.md)
