CarPlayNavigationViewController
CarPlayNavigationViewController
is a fully-featured turn-by-turn navigation UI for CarPlay.
Seealso
NavigationViewController-
The view controller’s delegate.
-
-
-
Provides all routing logic for the user.
See
NavigationService
for more information. -
The map view showing the route and the user’s location.
-
A view indicating what direction the vehicle is traveling towards, snapped to eight cardinal directions in steps of 45°.
This view is hidden by default.
-
A view that displays the current speed limit.
-
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.
-
-
-
-