---
title: automaticTerminationSupportEnabled
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/processinfo/automaticterminationsupportenabled
---

# automaticTerminationSupportEnabled

A Boolean value indicating whether the app supports automatic termination.

## Declaration

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

## Discussion

Discussion Without setting this property or setting the equivalent Info.plist key (NSSupportsAutomaticTermination), the methods disableAutomaticTermination(_:) and 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 false has no effect. This property should be set in the app delegate method applicationDidFinishLaunching(_:) or earlier.

## See Also

### Controlling automatic termination

- [disableAutomaticTermination(_:)](foundation/processinfo/disableautomatictermination(_:).md)
- [enableAutomaticTermination(_:)](foundation/processinfo/enableautomatictermination(_:).md)
