Contents

present(navigationAlert:animated:)

Displays a navigation alert on the map template.

Declaration

func present(navigationAlert: CPNavigationAlert, animated: Bool)

Parameters

  • navigationAlert:

    The navigation alert to display.

  • animated:

    To animate the display of the alert, set to True; otherwise, set to False to immediately display the alert.

Discussion

This method has no effect when the map template is already displaying a navigation alert. Dismiss the current alert before presenting a new one.

See Also

Displaying a Navigation Alert