简体   繁体   English

如何为iPhone提供服务?

[英]How to make a service for iphone?

I want to create a service for the iPhone which will run in the background. 我想为iPhone创建一个将在后台运行的服务。

I can't find any help anywhere and I dont know if its possible or not. 我在任何地方都找不到任何帮助,我也不知道它是否可行。

iOS doesn't allow developer to create background services like in Android. iOS不允许开发人员像Android一样创建后台服务。

Check the belwo SO post that clearly state Only some of the Apple apps are allowed to do this 检查明确声明的belwo SO帖子, 仅允许某些Apple应用程序执行此操作

Running application in background 在后台运行应用程序

what kind of service are you programming ? 您正在编程哪种服务? Because Apple allows certain kinds of background tasks. 因为Apple允许某些类型的后台任务。 More info at http://developer.apple.com/library/ios/#documentation/iphone/conceptual/iphoneosprogrammingguide/BackgroundExecution/BackgroundExecution.html 有关更多信息,请访问http://developer.apple.com/library/ios/#documentation/iphone/conceptual/iphoneosprogrammingguide/BackgroundExecution/BackgroundExecution.html

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

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