如何在Swift中使用MapKit在两个位置之间绘制路径? [英] How to draw a route between two locations using MapKit in Swift?
本文介绍了如何在Swift中使用MapKit在两个位置之间绘制路径?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在Swift中使用MapKit在用户的当前位置和特定位置之间绘制路径?
How can I draw a route between user's current location to a specific location using MapKit in Swift?
我搜索了很多,但是没有找到任何有用的Swift特定链接或教程。
I searched a lot, but didn't find any helpful Swift-specific links or tutorials.
推荐答案
我只是链接到一个教程,展示如何在Swift中做到这一点:
I'll just link to a tutorial that shows how to do that in Swift:
这应该涵盖你需要的东西。
This should cover what you need.
这篇关于如何在Swift中使用MapKit在两个位置之间绘制路径?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文