ios – 如何使用UIRemoteNotificationTypeVoIP?

前端之家收集整理的这篇文章主要介绍了ios – 如何使用UIRemoteNotificationTypeVoIP?前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
来自setKeepAliveTimeout的文档:处理程序: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.

但我找不到任何关于它的东西.这是件事吗?

解决方法

如果有人对此文档感到困惑,他们可能意味着在WWDC 2014中提出的PushKit Framework和PKPushTypeVoIP,编写节能代码,第2部分
原文链接:https://www.f2er.com/iOS/328422.html

猜你在找的iOS相关文章