Instance Method

mapTemplate:shouldShowNotificationForNavigationAlert:

Asks the delegate whether the system should display the navigation alert as a notification when the app is in the background.

Declaration

- (BOOL)mapTemplate:(CPMapTemplate *)mapTemplate shouldShowNotificationForNavigationAlert:(CPNavigationAlert *)navigationAlert;

Parameters

mapTemplate

The current map template.

navigationAlert

The navigation alert to display as a notification.

Return Value

YES if the system should display the navigation alert as a notification; otherwise, NO.

See Also

Displaying Notifications

- mapTemplate:shouldShowNotificationForManeuver:

Asks the delegate whether the system should display the maneuver as a notification when the app is in the background.

- mapTemplate:shouldUpdateNotificationForManeuver:withTravelEstimates:

Asks the delegate whether the system should display the maneuver with updated travel estimates as a notification when the app is in the background.