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.
谷歌地图提供了一个方便的 URL 方案:
comgooglemaps-x-callback://
用于从 iOS 应用程序触发 Google 地图时使用。Apple Maps 是否提供相同的功能。如果是,我想找一些简短的示例代码,以便知道如何使用它。我做了一些研究,但没有发现任何类似的东西。
我在 Apple Maps 中寻找过相同的功能。这似乎不可能。Apple 的地图 URL 方案文档没有显示如下内容:
https://developer.apple.com/library/ios/featuredarticles/iPhoneURLScheme_Reference/MapLinks/MapLinks.html