How to launch Apple Mapps form an iOS app

Hi,


we create an application for car pooling.


I need to open Apple Maps APP to start navigation.


But I just need to enter GPS coordinates for:

Start point

Waypoints

End point


Google maps and Sygic has waypoints, as defined in the documentation.

But for Apple Maps, I can't find this option in documetation.

Can you advise me how to implement this?


Apple documentation:

https://developer.apple.com/library/archive/featuredarticles/iPhoneURLScheme_Reference/MapLinks/MapLinks.html#//apple_ref/doc/uid/TP40007899-CH5-SW1


THX

Replies

You should move your question to the Maps and Location section of the forum.


Good luck.

There isn't a waypoints API for directions in MapKit. Please file an enhancement request.

Not sure what you're looking for by waypoints but if you're looking to overlay a route on a map, MKDirections may have what you need.


Check out: https://developer.apple.com/documentation/mapkit/mkdirections


-Mark