<!--
{
  "availability" : [
    "iOS: 17.4.0 -",
    "iPadOS: 17.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SecureElementCredential",
  "identifier" : "/documentation/SecureElementCredential/CredentialSessionWindowSceneDelegate",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "SecureElementCredential",
      "UIKit"
    ],
    "preciseIdentifier" : "s:30_SecureElementCredential_UIKit0C26SessionWindowSceneDelegateP"
  },
  "title" : "CredentialSessionWindowSceneDelegate"
}
-->

# CredentialSessionWindowSceneDelegate

Delegate to notify your `UIWindowScene` that a CredentialSession event has occurred.

```
protocol CredentialSessionWindowSceneDelegate
```

## Overview

All files that refer to symbols defined here should never `import SwiftUI`
Importing SwiftUI with UIKit will result in ambiguous symbols during compilation.

## Topics

### Handling events

[`func windowScene(UIWindowScene, didReceiveCredentialSessionWindowSceneEvent: CredentialSessionWindowSceneEvent)`](/documentation/SecureElementCredential/CredentialSessionWindowSceneDelegate/windowScene(_:didReceiveCredentialSessionWindowSceneEvent:))

[`enum CredentialSessionWindowSceneEvent`](/documentation/SecureElementCredential/CredentialSessionWindowSceneEvent)

A CredentialSession event send to a `UIScene` or `UIWindowScene`.



---

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)