Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我已经在手机间隙开发了一个移动应用程序,它在 android 和 Iphone 4 中运行良好,因为我使用谷歌地图来加载商店的信息。但是在 Iphone5 中,我无法打开谷歌地图,而且我不知道如何打开苹果地图。任何人都可以帮助我吗?
要打开 Apple 地图,最简单的方法是使用 HTML 样式的链接:
打开地图:
<a href="http://maps.apple.com/">Open Apple Maps</a>
打开带有路线的地图:
<a href="http://maps.apple.com/?saddr=&daddr=">Open Route in Apple Maps</a>
其中saddr 是起始地址,daddr 是目标地址。您可以通过“Current%20Location”来使用他们的当前位置