Instance Method

startNavigationSession(for:)

Begins navigational guidance for a trip.

Declaration

func startNavigationSession(for trip: CPTrip) -> CPNavigationSession

Parameters

trip

The trip to provide guidance for.

Return Value

A navigation session for the specified trip.

Discussion

Keep a reference to the navigation session to perform guidance updates.