<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 18.2.0 -",
    "macOS: 12.3.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ScreenCaptureKit",
  "identifier" : "/documentation/ScreenCaptureKit/SCContentFilter/init(display:excludingApplications:exceptingWindows:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "ScreenCaptureKit"
    ],
    "preciseIdentifier" : "c:objc(cs)SCContentFilter(im)initWithDisplay:excludingApplications:exceptingWindows:"
  },
  "title" : "init(display:excludingApplications:exceptingWindows:)"
}
-->

# init(display:excludingApplications:exceptingWindows:)

Creates a filter that captures a display, excluding windows of the specified apps.

```
init(display: SCDisplay, excludingApplications applications: [SCRunningApplication], exceptingWindows: [SCWindow])
```

## Parameters

`display`

A display to capture.

`applications`

An array of apps to exclude from capture.

`exceptingWindows`

An array of windows that are exceptions to the previous rules.

## Discussion

The initializer arguments provide a three-stage filter that gives you fine-grained control over the output:

1. Specify a display to capture. If you don’t specify additional filter criteria, the stream includes all content for a display.
2. Specify one or more apps with windows to exclude from the output.
3. Specify one or more windows that are exceptions to the previous rules. If the previous rules include a window, specifying it as an exception excludes it from the output. Likewise, if the previous rules exclude a window, specifying it as an exception includes it in the output.

---

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)