---
title: previewImage
framework: groupactivities
role: symbol
role_heading: Instance Property
path: groupactivities/groupactivitymetadata/previewimage
---

# previewImage

The image to display for the current activity.

## Declaration

```swift
var previewImage: CGImage?
```

## Discussion

Discussion Use this property to specify an image for the activity. For example, you might display a movie poster for a movie-watching activity. The system scales the image as needed and displays it with the rest of the activity information.

## See Also

### Presenting the activity

- [title](groupactivities/groupactivitymetadata/title.md)
- [subtitle](groupactivities/groupactivitymetadata/subtitle.md)
- [fallbackURL](groupactivities/groupactivitymetadata/fallbackurl.md)
