Instance Method

application:didSelectNavigationAlert:

Tells the app delegate that the user selected an action from a navigation alert.

Declaration

- (void)application:(UIApplication *)application didSelectNavigationAlert:(CPNavigationAlert *)navigationAlert;

Parameters

application

Your singleton app object.

navigationAlert

The alert tapped by the user.

Discussion

When your app posts a navigation alert 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.