showRouteChoicesPreview(for:textConfiguration:)
Displays the route choices for a single trip.
Declaration
func showRouteChoicesPreview(for tripPreview: CPTrip, textConfiguration: CPTripPreviewTextConfiguration?)Parameters
- tripPreview:
The trip to preview.
- textConfiguration:
A text configuration object containing the titles to display on trip preview buttons.
Discussion
The trip preview can appear over an active navigation session.