Xcode 9中缺少Voip(IP语音) [英] Voip(Voice over IP) missing in Xcode 9
本文介绍了Xcode 9中缺少Voip(IP语音)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在我的应用程序中使用pushKit,但 didUpdatePushCredentials
委托从未调用过。 xcode 9没有 IP语音
i am using pushKit in my App but didUpdatePushCredentials
delegate never called. xcode 9 not having Voice over IP
功能 - >后台模式 - > IP语音
Capabilities --> Background Modes --> Voice over IP
我正在关注此链接.. 实施pushkit
i am following this link..implement pushkit
证书再次生成但无效。
推荐答案
虽然Xcode 9正式发布,但仍然没有VoIP功能。
Although, Xcode 9 is announced officially, still there isn't VoIP on the capabilities.
我通过打开Info.plist作为源代码并手动将voip添加到UIBackgroundModes来解决了我的问题。
I solved my problem by opening Info.plist as a source code and adding "voip" to UIBackgroundModes manually.
<key>UIBackgroundModes</key>
<array>
<string>audio</string>
<string>voip</string>
<string>fetch</string>
<string>remote-notification</string>
</array>
这篇关于Xcode 9中缺少Voip(IP语音)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文