---
title: hasProjectPreview
framework: photos
role: symbol
role_heading: Instance Property
path: photos/phproject/hasprojectpreview
---

# hasProjectPreview

A property that indicates whether a project preview was previously set.

## Declaration

```swift
var hasProjectPreview: Bool { get }
```

## Discussion

Discussion To set the preview, use setProjectPreviewImage(_:).

## See Also

### Project Extension Properties

- [projectExtensionData](photos/phproject/projectextensiondata.md)
