在iOS13中,当收到VoIP推送时是否允许报告CXCallUpdate或CXEndCallAction?

问题描述 投票:0回答:1

我想知道在收到VoIP推送时是否允许在以下方法中报告CXCallUpdateCXEndCallAction

func pushRegistry(_ registry: PKPushRegistry, didReceiveIncomingPushWith payload: PKPushPayload, forType type: PKPushType) {
  // report new incoming call
}

感谢您的帮助。

swift push voip ios13 callkit
1个回答
0
投票

您可能知道,在iOS 13及更高版本上,收到VoIP推送后,您必须向CallKit报告呼叫。但是,一旦您报告了该呼叫并且只要该呼叫保持活动状态,就可以在pushRegistry(:didReceiveIncomingPushWith:type:)中接收任意数量的VoIP推送并执行您想做的任何事情。

© www.soinside.com 2019 - 2024. All rights reserved.