<!--
{
  "availability" : [
    "iOS: 17.4.0 -",
    "iPadOS: 17.4.0 -",
    "macOS: 14.3.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "BrowserEngineKit",
  "identifier" : "/documentation/BrowserEngineKit/ProcessCapability/foreground",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "BrowserEngineKit"
    ],
    "preciseIdentifier" : "s:16BrowserEngineKit17ProcessCapabilityO10foregroundyA2CmF"
  },
  "title" : "ProcessCapability.foreground"
}
-->

# ProcessCapability.foreground

A process capability for work in the foreground.

```
case foreground
```

## Discussion

This capability grants the helper extension process the ability to run at foreground priority and work on behalf of the host process while the host process is in the foreground.

Use this capability while your browser app is in the foreground to allow extensions that support the browser’s UI to run at foreground priority.

---

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)