mapTemplate(_:shouldShowNotificationFor:)
Asks the delegate whether the system should display the navigation alert as a notification when the app is in the background.
Declaration
optional func mapTemplate(_ mapTemplate: CPMapTemplate, shouldShowNotificationFor navigationAlert: CPNavigationAlert) -> BoolParameters
- mapTemplate:
The current map template.
- navigationAlert:
The navigation alert to display as a notification.
Return Value
true if the system should display the navigation alert as a notification; otherwise, false.