<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 18.2.0 -",
    "macOS: 15.2.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ScreenCaptureKit",
  "identifier" : "/documentation/ScreenCaptureKit/SCStreamDelegate/streamDidBecomeInactive(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "ScreenCaptureKit"
    ],
    "preciseIdentifier" : "c:objc(pl)SCStreamDelegate(im)streamDidBecomeInactive:"
  },
  "title" : "streamDidBecomeInactive(_:)"
}
-->

# streamDidBecomeInactive(_:)

```
optional func streamDidBecomeInactive(_ stream: SCStream)
```

## Parameters

`stream`

the SCStream object

## Discussion\abstract streamDidBecomeInactive:
\discussion notifies the delegate that all the windows that are currently being shared are exited. This callback occurs for all content filter types.

---

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)