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.
我正在开发一个 iPhone 应用程序,它使用谷歌交通为用户提供使用公共交通工具的方向。
当您选择公共交通路线时,我想将我的应用程序插入到您可以在苹果地图中找到的列表中。
但是我找不到有关如何执行此操作的文档,有什么建议吗?
如果您想在搜索公共交通工具时在 iOS 地图默认应用程序中显示您的应用程序,您必须通过添加以下键来编辑应用程序的 PLIST 文件:
MKDirectionsApplicationSupportedModes
并使用您的交通工具类型设置它,例如“公共汽车”。
希望有所帮助。