gpt4 book ai didi

ios - 导航至谷歌地图 回拨

转载 作者:行者123 更新时间:2023-11-30 12:31:23 26 4
gpt4 key购买 nike

我正在使用 Google map 进行导航。根据文档 here ,我使用了回拨方案。但是谷歌地图顶部没有按钮可以返回我的应用程序。

左上角有一个小按钮,可以返回我的应用程序(在 IOS 9 中可用),上面有我的应用程序名称。

那么这个方案(comgooglemaps-x-callback://)将在哪里添加返回我的应用程序的按钮?

此外,我没有感觉到“comgooglemaps-x-callback://”和“comgooglemaps://”之间有任何区别。

请帮助我...

谢谢...

最佳答案

根据谷歌

comgooglemaps://和 comgooglemaps-x-callback:// -

These schemes allow you to launch the Google Maps app for iOS and perform one of several actions:

Display a map at a specified location and zoom level. Search for locations or places, and display them on a map. Request directions from one location to another. Directions can be returned for four modes of transportation: driving, walking, bicycling and public transit. Add navigation to your app. Through iOS 8, issue a callback when the app has completed, using

comgooglemaps-x-callback://

Callbacks are often used to return a user to the app that originally opened Google Maps for iOS. Note that on iOS 9, the system automatically provides a "Back to" link in left corner of the status bar. comgooglemapsurl:// -

This scheme allows you to launch the Google Maps app for iOS using a URL derived from the desktop Google Maps website. This means that you can give your users a native mobile experience rather than simply loading the Google Maps website.

The original URL can be for maps.google.com, or for google.com/maps, or using any valid top-level country domain instead of com. You can also pass on goo.gl/maps redirection URLs. You can issue a callback using the x-source and x-success parameters with the comgooglemapsurl:// URL scheme.

关于ios - 导航至谷歌地图 回拨,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43511880/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com