Contents

mapTemplate(_:shouldShowNotificationFor:)

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

Declaration

optional func mapTemplate(_ mapTemplate: CPMapTemplate, shouldShowNotificationFor maneuver: CPManeuver) -> Bool

Parameters

  • mapTemplate:

    The current map template.

  • maneuver:

    The current maneuver.

Return Value

true if the system should display the maneuver as a notification; otherwise, false.

See Also

Displaying Notifications