update(_:for:with:)
Updates travel estimates, such as arrival time and the remaining time and distance for a trip, with the specified time-remaining color.
Declaration
func update(_ estimates: CPTravelEstimates, for trip: CPTrip, with timeRemainingColor: CPTimeRemainingColor)Parameters
- estimates:
The updated travel estimates.
- trip:
A trip preview or the active trip.
- timeRemainingColor:
The time-remaining color.