---
title: CPDashboardController
framework: carplay
role: symbol
role_heading: Class
path: carplay/cpdashboardcontroller
---

# CPDashboardController

A controller that provides shortcut buttons for the CarPlay Dashboard.

## Declaration

```swift
class CPDashboardController
```

## Overview

Overview A dashboard controller manages up to two shortcut buttons that CarPlay displays in the dashboard when there’s no active navigation session. You don’t create the dashboard controller. Instead, CarPlay creates one for you and passes it to the delegate of CPTemplateApplicationDashboardScene when it connects the dashboard scene. After receiving the controller, set shortcutButtons to an array that contains a maximum of two shortcut buttons. CarPlay manages hiding or showing the buttons on the dashboard at the appropriate times.

## Topics

### Providing Dashboard Buttons

- [shortcutButtons](carplay/cpdashboardcontroller/shortcutbuttons.md)
- [CPDashboardButton](carplay/cpdashboardbutton.md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Accessing the Dashboard Controller

- [dashboardController](carplay/cptemplateapplicationdashboardscene/dashboardcontroller.md)
