---
title: "templateApplicationScene(_:didSelect:)"
framework: carplay
role: symbol
role_heading: Instance Method
path: "carplay/cptemplateapplicationscenedelegate/templateapplicationscene(_:didselect:)-5rf2h"
---

# templateApplicationScene(_:didSelect:)

Tells the delegate when the user selects a maneuver while the app is in the background.

## Declaration

```swift
optional func templateApplicationScene(_ templateApplicationScene: CPTemplateApplicationScene, didSelect maneuver: CPManeuver)
```

## Parameters

- `templateApplicationScene`: The active scene.
- `maneuver`: The selected maneuver.

## Discussion

Discussion If your navigation app posts a maneuver while in the background, CarPlay displays a notification banner to the user. If the user taps the banner, CarPlay brings your navigation app to the foreground and calls this method.

## See Also

### Responding to User Actions

- [templateApplicationScene(_:didSelect:)](carplay/cptemplateapplicationscenedelegate/templateapplicationscene(_:didselect:)-7bie0.md)
