简体   繁体   中英

How to get the current route from iOS' MapKit?

Is there any way via the public API to get the current route that is being used in Apple Maps?

That is, a user is currently navigating a route via Apple Maps and switches to my app. Is there any way for me to know the route currently in use? Or at least, the current destination?

As far as I know, you can only pass data to the maps app. It does not work the other way, so I don't believe you could retrieve information about the current route.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM