简体   繁体   English

ios voip应用程序可以在后台运行?

[英]ios voip app can running in background?

from the apple documents, these are three type app can running at the background. 从苹果文件来看,这三种类型的应用程序都可以在后台运行。 1.music 2.location 3.voip 1.音乐2.位置3.voip

so I apply my app as a voip, and I have a socket on to listen others to connect(as a server). 所以我将我的应用程序作为voip,并且我有一个套接字来监听其他人(作为服务器)进行连接。 So my app can running in the background and recv data from others connect? 因此,我的应用程序可以在后台运行,并且可以接收其他用户的接收数据吗? If can, so we can develop a application to download file in the background? 如果可以,那么我们可以开发一个应用程序在后台下载文件吗?

I don't know is it right by this way? 我不知道这样对吗? Any one know this? 有人知道吗?

Yes, you can enable the VoIP background mode to allow your app to run in the background. 是的,您可以启用VoIP后台模式以允许您的应用在后台运行。 But, if your app does not actually provide a VoIP function, then Apple will almost certainly reject the app. 但是,如果您的应用程序实际上没有提供VoIP功能,那么Apple几乎可以肯定会拒绝该应用程序。 You can use this mode as a means to do ad hoc testing, if that helps, but it won't fly on the App Store. 如果有帮助,您可以使用此模式进行临时测试,但无法在App Store上进行。

是的,请参考这里

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM