<!--
{
  "availability" : [
    "macCatalyst: -",
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreGraphics",
  "identifier" : "/documentation/CoreGraphics/CGConfigureOption",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Core Graphics"
    ],
    "preciseIdentifier" : "c:@E@CGConfigureOption"
  },
  "title" : "CGConfigureOption"
}
-->

# CGConfigureOption

The scope of the changes in a display configuration transaction.

```
struct CGConfigureOption
```

## Overview

For information about how these constants are used, see the function [`CGCompleteDisplayConfiguration(_:_:)`](/documentation/CoreGraphics/CGCompleteDisplayConfiguration(_:_:)).

## Topics

### Initializers

[`init(rawValue:)`](/documentation/CoreGraphics/CGConfigureOption/init(rawValue:))

### Type Properties

[`forAppOnly`](/documentation/CoreGraphics/CGConfigureOption/forAppOnly)

Changes persist for the lifetime of the current application. After the application terminates, the display configuration settings revert to the current login session.

[`forSession`](/documentation/CoreGraphics/CGConfigureOption/forSession)

Changes persist for the lifetime of the current login session. After the current session terminates, the displays revert to the last saved permanent configuration.

[`permanently`](/documentation/CoreGraphics/CGConfigureOption/permanently)



---

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)