Instance Method

mapTemplate:shouldShowNotificationForManeuver:

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

Declaration

- (BOOL)mapTemplate:(CPMapTemplate *)mapTemplate shouldShowNotificationForManeuver:(CPManeuver *)maneuver;

Parameters

mapTemplate

The current map template.

maneuver

The current maneuver.

Return Value

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

See Also

Displaying Notifications

- 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.

- mapTemplate:shouldShowNotificationForNavigationAlert:

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