<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSApplication/ActivationPolicy-swift.enum/prohibited",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:@E@NSApplicationActivationPolicy@NSApplicationActivationPolicyProhibited"
  },
  "title" : "NSApplication.ActivationPolicy.prohibited"
}
-->

# NSApplication.ActivationPolicy.prohibited

The application doesn’t appear in the Dock and may not create windows or be activated.

```
case prohibited
```

## Discussion

This corresponds to the value of the `LSBackgroundOnly` key in the application’s `Info.plist` file being `1`. This is also the default for unbundled executables that don’t have `Info.plist` files.

---

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)