【问题标题】:What happen when you have multiple apps that support the same external accessory protocol?当您有多个支持相同外部附件协议的应用程序时会发生什么?
【发布时间】:2012-08-23 05:43:37
【问题描述】:

当您有多个应用支持相同的外部附件协议时会发生什么? iOS 将推出哪款应用?

【问题讨论】:

  • 这个问题你有答案了吗?
  • @TommasoResti 还没有。

标签: ios external-accessory


【解决方案1】:

来自 Apple 的文档:

    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.

【讨论】:

  • Boon 没有谈到 URL 方案,而是谈到了外部附件协议……例如:com.yourcompany.mydeviceprotocol
  • @TommasoResti 你说得对,它是协议,而不是 URL 方案。
【解决方案2】:

我们知道app bundle ID是唯一的,所以iPhone一次只能在前台打开一个APP

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2011-01-06
    • 2020-06-13
    • 1970-01-01
    • 2021-10-01
    • 2014-04-19
    • 2020-09-24
    • 1970-01-01
    相关资源
    最近更新 更多