gpt4 book ai didi

ios - 如何使用 UIRemoteNotificationTypeVoIP?

转载 作者:可可西里 更新时间:2023-11-01 03:51:51 27 4
gpt4 key购买 nike

来自 setKeepAliveTimeout:handler: UIApplication 方法的文档:

In iOS 8 and later, voice-over-IP (VoIP) apps register for UIRemoteNotificationTypeVoIP push notifications instead of using this method. Using push notifications eliminates the need for a timeout handler to check in with the VoIP service. Instead, when a calls arrives for the user, the VoIP service sends a VoIP push notification to the user’s device. Upon receiving this notification, the device launches or wakes the app as needed so that it can handle the incoming call.

但是我找不到任何关于它的信息。这是一件事吗?

最佳答案

如果有人也对这份文档感到困惑,他们可能指的是 PushKit 框架 和 WWDC 2014 中提出的 PKPushTypeVoIP,编写节能代码,第 2 部分

关于ios - 如何使用 UIRemoteNotificationTypeVoIP?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26607190/

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