init(originWaypoint:destinationWaypoint:routeChoices:)

Initialize a @c CPTrip with an origin waypoint, destination waypoint, and route choices.

Declaration

init(originWaypoint origin: CPNavigationWaypoint, destinationWaypoint destination: CPNavigationWaypoint, routeChoices: [CPRouteChoice])