CarPlayNavigationViewController
CarPlayNavigationViewController
is a fully-featured turn-by-turn navigation UI for CarPlay.
Seealso
NavigationViewController-
The view controller’s delegate.
-
-
-
The map view showing the route and the user’s location.
-
The interface styles available for display.
These are the styles available to the view controller’s internal
StyleManager
object. In CarPlay,Style
objects primarily affect the appearance of the map, not guidance-related overlay views. -
Creates a new CarPlay navigation view controller for the given route controller and user interface.
Postcondition
Call
startNavigationSession(for:)
after initializing this object to begin navigation. -
-
-
-
Begins a navigation session along the given trip.
-
Ends the current navigation session.
-
Shows the interface for providing feedback about the route.
-
A Boolean value indicating whether the map should follow the user’s location and rotate when the course changes.
When this property is true, the map follows the user’s location and rotates when their course changes. Otherwise, the map shows an overview of the route.
-