来自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部分