---
title: CPTemplateApplicationDashboardSceneDelegate
framework: carplay
role: symbol
role_heading: Protocol
path: carplay/cptemplateapplicationdashboardscenedelegate
---

# CPTemplateApplicationDashboardSceneDelegate

The methods for responding to the life-cycle events of your navigation app’s dashboard scene.

## Declaration

```swift
protocol CPTemplateApplicationDashboardSceneDelegate : UISceneDelegate
```

## Overview

Overview This protocol defines methods that CarPlay calls when the scene connects and disconnects, and your implementation provides the appropriate behavior when these events occur. For example, setting the window’s root view controller when CarPlay connects your navigation app’s dashboard scene. You don’t create instances of your dashboard scene delegate directly. Instead, you specify the name of the class as part of the CarPlay scene configuration you add to your Info.plist file—see the example below—or that you return from your app delegate’s application(_:configurationForConnecting:options:) method. <key>CPTemplateApplicationDashboardSceneSessionRoleApplication</key> <array>      <dict>         <key>UISceneClassName</key>         <string>CPTemplateApplicationDashboardScene</string>         <key>UISceneConfigurationName</key>         <string>MyCarPlayDashboardSceneConfiguration</string>         <!-- Specify the name of your dashboard scene delegate class. -->          <key>UISceneDelegateClassName</key>         <string>MyCarPlayDashboardSceneDelegate</string>      </dict> </array>

## Topics

### Responding to the Scene Life Cycle

- [templateApplicationDashboardScene(_:didConnect:to:)](carplay/cptemplateapplicationdashboardscenedelegate/templateapplicationdashboardscene(_:didconnect:to:).md)
- [templateApplicationDashboardScene(_:didDisconnect:from:)](carplay/cptemplateapplicationdashboardscenedelegate/templateapplicationdashboardscene(_:diddisconnect:from:).md)

## Relationships

### Inherits From

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

## See Also

### Navigation

- [Integrating CarPlay with Your Navigation App](carplay/integrating-carplay-with-your-navigation-app.md)
- [CPTemplateApplicationDashboardScene](carplay/cptemplateapplicationdashboardscene.md)
- [CPMapTemplate](carplay/cpmaptemplate.md)
- [CPSearchTemplate](carplay/cpsearchtemplate.md)
- [CPVoiceControlTemplate](carplay/cpvoicecontroltemplate.md)
