<!--
{
  "availability" : [
    "macOS: 10.7.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/ProcessInfo/automaticTerminationSupportEnabled",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "c:objc(cs)NSProcessInfo(py)automaticTerminationSupportEnabled"
  },
  "title" : "automaticTerminationSupportEnabled"
}
-->

# automaticTerminationSupportEnabled

A Boolean value indicating whether the app supports automatic termination.

```
var automaticTerminationSupportEnabled: Bool { get set }
```

## Discussion

Without setting this property or setting the equivalent `Info.plist` key (`NSSupportsAutomaticTermination`), the methods [`disableAutomaticTermination(_:)`](/documentation/Foundation/ProcessInfo/disableAutomaticTermination(_:)) and [`enableAutomaticTermination(_:)`](/documentation/Foundation/ProcessInfo/enableAutomaticTermination(_:)) have no effect, although the counter tracking automatic termination opt-outs is still kept up to date to ensure correctness if this is called later. Currently, setting this property to <doc://com.apple.documentation/documentation/Swift/false> has no effect. This property should be set in the app delegate method <doc://com.apple.documentation/documentation/AppKit/NSApplicationDelegate/applicationDidFinishLaunching(_:)> or earlier.

---

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)