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

# CredentialSessionWindowSceneEvent

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

```
enum CredentialSessionWindowSceneEvent
```

## 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

### Events

[`case presentation`](/documentation/SecureElementCredential/CredentialSessionWindowSceneEvent/presentation)

User has perform gesture on device to request for app presentation

[`case readerDetected`](/documentation/SecureElementCredential/CredentialSessionWindowSceneEvent/readerDetected)

External NFC reader is detected, i.e. presence of a NFC field

## Relationships

### Conforms To

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`Decodable`](/documentation/Swift/Decodable)

[`Hashable`](/documentation/Swift/Hashable)

[`Encodable`](/documentation/Swift/Encodable)

[`Equatable`](/documentation/Swift/Equatable)

---

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)