Instance Method

application(_:didSelect:)

Tells the app delegate that the user selected a maneuver.

Declaration

optional func application(_ application: UIApplication, didSelect maneuver: CPManeuver)

Parameters

application

Your singleton app object.

maneuver

The maneuver selected by the user.

Discussion

When your app posts a maneuver while running in the background, CarPlay may display a notification banner. If the user taps the banner, the system displays your app on the CarPlay screen, then calls this method.