<!--
{
  "availability" : [
    "macOS: 10.6.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSRunningApplication/activationPolicy",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSRunningApplication(py)activationPolicy"
  },
  "title" : "activationPolicy"
}
-->

# activationPolicy

Indicates the activation policy of the application.

```
var activationPolicy: NSApplication.ActivationPolicy { get }
```

## Discussion

The value returned by this property is usually fixed, but it may change through a call to [`activate(options:)`](/documentation/AppKit/NSRunningApplication/activate(options:)).

This property is observable using key-value observing.

---

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)