---
title: excludedWindowIDs
framework: screencapturekit
role: symbol
role_heading: Instance Property
path: screencapturekit/sccontentsharingpickerconfiguration-swift.struct/excludedwindowids
---

# excludedWindowIDs

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

## Declaration

```swift
var excludedWindowIDs: Array<Int>
```

## Discussion

Discussion important: Using an invalid window ID can cause an error. Use window values returned from Core Graphics methods such as CGWindowListCopyWindowInfo(_:_:) to provide window IDs to exclude from the picker.

## See Also

### Control streaming selections

- [allowedPickerModes](screencapturekit/sccontentsharingpickerconfiguration-swift.struct/allowedpickermodes.md)
- [allowsChangingSelectedContent](screencapturekit/sccontentsharingpickerconfiguration-swift.struct/allowschangingselectedcontent.md)
- [excludedBundleIDs](screencapturekit/sccontentsharingpickerconfiguration-swift.struct/excludedbundleids.md)
