<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: 26.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppIntents",
  "identifier" : "/documentation/AppIntents/UISceneAppIntent/uiScene",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "App Intents",
      "UIKit",
      "_AppIntents_UIKit"
    ],
    "preciseIdentifier" : "s:17_AppIntents_UIKit07UISceneA6IntentPAAE7uiSceneSo0D0CSgvp"
  },
  "title" : "uiScene"
}
-->

# uiScene

The scene that is handling the app intent.

```
var uiScene: UIScene? { get }
```

## Discussion

When the system selects a scene for your app intent, it assigns the scene to this property
so your app intent can access it. Check the value of this property only in your app intent’s
[`perform()`](/documentation/AppIntents/AppIntent/perform()) method. If the system didn’t associate the app intent with a scene,
the value of this property is `nil`.

---

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)