<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: 18.2.0 -",
    "macOS: 14.0.0 -",
    "tvOS: -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "ScreenCaptureKit",
  "identifier" : "/documentation/ScreenCaptureKit/SCContentSharingPickerConfiguration-c.class/excludedWindowIDs",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "ScreenCaptureKit"
    ],
    "preciseIdentifier" : "c:objc(cs)SCContentSharingPickerConfiguration(py)excludedWindowIDs"
  },
  "title" : "excludedWindowIDs"
}
-->

# excludedWindowIDs

A list of window IDs to exclude from the sharing picker.

```
@property (nonatomic, strong) NSArray<NSNumber *> * excludedWindowIDs;
```

## Discussion> Important:
> Using an invalid window ID can cause an error. Use <doc://com.apple.documentation/documentation/CoreGraphics/CGWindowID> values provided by methods such as <doc://com.apple.documentation/documentation/CoreGraphics/CGWindowListCopyWindowInfo(_:_:)> or a stream window’s ``doc://com.apple.screencapturekit/documentation/ScreenCaptureKit/SCWindow/windowID`` property.

---

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)