<!--
{
  "availability" : [
    "macOS: 10.13.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "PhotoKit",
  "identifier" : "/documentation/Photos/PHProject/hasProjectPreview",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Photos"
    ],
    "preciseIdentifier" : "c:objc(cs)PHProject(py)hasProjectPreview"
  },
  "title" : "hasProjectPreview"
}
-->

# hasProjectPreview

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

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

## Discussion

To set the preview, use [`setProjectPreviewImage(_:)`](/documentation/Photos/PHProjectChangeRequest/setProjectPreviewImage(_:)).

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)