如果其他 2 个应用注册了相同的 url scheme,iOS 如何处理?
最佳答案
Note: If more than one third-party app registers to handle the same URL scheme, there is currently no process for determining which app will be given that scheme.
如果有两个应用程序注册了一个 URL 方案,操作系统的行为是未定义的,因此您应该尝试定义一个特定于您的应用程序的处理程序以避免这种情况(例如 awesomeMapsApp://
而不是 maps://
)。
关于ios - iOS 如何处理 URL 方案重复?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5103260/