---
title: AppIntentSceneDelegate
framework: appintents
role: symbol
role_heading: Protocol
path: appintents/appintentscenedelegate
---

# AppIntentSceneDelegate

Implement this protocol on your UIScene delegate to handle AppIntent invocations targeting a specific scene

## Declaration

```swift
protocol AppIntentSceneDelegate : UISceneDelegate
```

## Overview

Overview Use the scene delegate to respond to an app intent, as shown in the following example: func scene(_ scene: UIScene, willPerformAppIntent appIntent: any AppIntent) {     switch appIntent {       case let myIntent as MyIntent:          windowScene.activationConditions.prefersToActivateForTargetContentIdentifierPredicate = NSPredicate("self == %@", myIntent.targetContentIdentifier)     } }

## Topics

### Instance Methods

- [scene(_:willPerformAppIntent:)](appintents/appintentscenedelegate/scene(_:willperformappintent:).md)

## Relationships

### Inherits From

- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [UISceneDelegate](uikit/uiscenedelegate.md)

## See Also

### Scene support

- [UISceneAppIntent](appintents/uisceneappintent.md)
- [TargetContentProvidingIntent](appintents/targetcontentprovidingintent.md)
