如何在iPhone上的后台运行我的应用程序?

时间:2023-02-10 01:25:59

How can I create an iPhone app that runs in the background and receives data from a web service and produces push notifications?

如何创建在后台运行并从Web服务接收数据并生成推送通知的iPhone应用程序?

2 个解决方案

#1


0  

For iOS app running in the background, you need to specify it in the info.plist.

对于在后台运行的iOS应用程序,您需要在info.plist中指定它。

required background modes = app plays audio,

所需的背景模式= app播放音频,

web services are possible to use with iOS which one you like REST or SOAP? For push notification you need external server or service.

Web服务是否可以与iOS一起使用,您喜欢REST还是SOAP?对于推送通知,您需要外部服务器或服务。

#2


-1  

As apple documentation application will run in background maximum 10 min after that application will not run in background expect audio,GPS like some other

由于苹果文档应用程序将在后台运行最多10分钟后应用程序不会在后台运行期望音频,GPS像其他一些

#1


0  

For iOS app running in the background, you need to specify it in the info.plist.

对于在后台运行的iOS应用程序,您需要在info.plist中指定它。

required background modes = app plays audio,

所需的背景模式= app播放音频,

web services are possible to use with iOS which one you like REST or SOAP? For push notification you need external server or service.

Web服务是否可以与iOS一起使用,您喜欢REST还是SOAP?对于推送通知,您需要外部服务器或服务。

#2


-1  

As apple documentation application will run in background maximum 10 min after that application will not run in background expect audio,GPS like some other

由于苹果文档应用程序将在后台运行最多10分钟后应用程序不会在后台运行期望音频,GPS像其他一些