<!--
{
  "availability" : [
    "macOS: 10.4.0 - 10.15.0"
  ],
  "documentType" : "symbol",
  "framework" : "Quartz",
  "identifier" : "/documentation/Quartz/QCCompositionProtocolScreenSaver",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "Quartz"
    ],
    "preciseIdentifier" : "c:@QCCompositionProtocolScreenSaver"
  },
  "title" : "QCCompositionProtocolScreenSaver"
}
-->

# QCCompositionProtocolScreenSaver

A composition that can be used as a screen saver. The composition has the option to use [`QCCompositionInputScreenImageKey`](/documentation/Quartz/QCCompositionInputScreenImageKey) for a screenshot image of the screen that the screen saver runs on, [`QCCompositionInputPreviewModeKey`](/documentation/Quartz/QCCompositionInputPreviewModeKey) to indicate if the animation should run in lower-quality for preview purposes, and [`QCCompositionOutputWebPageURLKey`](/documentation/Quartz/QCCompositionOutputWebPageURLKey) for a  URL to open in the default web browser when screen saver exits (only allowed if screen saver password is disabled).

```
let QCCompositionProtocolScreenSaver: String
```

---

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)