Multiple Waypoints in Mapkit

How do you add multiple waypoints in the latest Mapkit for iOS and iPadOS 16?

With the new Maps App in iOs 16 there is an option to add multiple stops along the route. What I want to do is create a new routing App and add stops programmatically using the MapKit SDK. I cannot find how to do this in the current MapKit documentation. Directions only shows how to add the Start and End locations.

With iOS 16, the Maps Apps has the capability to add Stops (waypoints) along a route. I want to know how to add stops using MapKit in a routing App.

Multiple Waypoints in Mapkit
 
 
Q