<!--
{
  "availability" : [
    "macOS: 10.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ScreenSaver",
  "identifier" : "/documentation/ScreenSaver/ScreenSaverView/performGammaFade()",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "Screen Saver"
    ],
    "preciseIdentifier" : "c:objc(cs)ScreenSaverView(cm)performGammaFade"
  },
  "title" : "performGammaFade()"
}
-->

# performGammaFade()

Indicates whether to perform a gradual screen fade when the system starts and stops your screen saver’s animation.

```
class func performGammaFade() -> Bool
```

## Discussion

This class method allows the screen saver view to select how the desktop visibly transitions to the screen saver view. When this method returns <doc://com.apple.documentation/documentation/Swift/true>, the screen gradually darkens before the animation begins. When it returns <doc://com.apple.documentation/documentation/Swift/false>, the screen transitions immediately to the screen saver. The latter behavior is more appropriate if the screen saver animates a screenshot of the desktop, as is the case for optical lens effects. The default is <doc://com.apple.documentation/documentation/Swift/true>.

---

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)