是否可以使用私有API在iPhone上运行后台进程

是否可以使用私有API在iPhone上运行后台进程

本文介绍了是否可以使用私有API在iPhone上运行后台进程?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不打算将应用程序发送到商店,这是为了有限的分发.我当时在想,如果我可以使用私有API进行后台处理,那么我可以加入iphone开发人员企业计划,并在公司内部分发在后台运行的应用程序.我想问题的延伸是,如果我是企业开发人员,是否有一种无需越狱即可实现后台处理的方法.

I am not planning to send the application to the store, it would be for a limited distribution. I was thinking that if I could use the private API to do background process, I could then I could join the iphone developer enterprise program, and distribute within my company an application which works in the background. I guess an extension of the question would be, if I am an enterprise developer is there a way to achieve background processing without jailbreaking.

推荐答案

可能甚至违反了SDK规则,甚至对于企业部署也是如此.

Probably against the SDK rules, even for enterprise deployment.

但是在- (void)applicationWillTerminate:(UIApplication *)app中进行阻止可能会起作用.

But blocking in - (void)applicationWillTerminate:(UIApplication *)app will probably work.

(这里有一个聪明的解决方案:)

(there's a clever solution here: How to implement Daemon process for background task in iphone sdk 3.0?)

这篇关于是否可以使用私有API在iPhone上运行后台进程?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-26 17:30