在iPhone中有任何系统级后台队列进程吗? [英] Is there any system level background queue process in iPhone?

查看:136
本文介绍了在iPhone中有任何系统级后台队列进程吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要保存一个大文件,有时需要很长时间才能完成,用户可能只是关闭应用程序。我想知道是否iPhone SDK可以接管未完成的大任务。

I need to save a big file, sometime it takes a very long time to finish, user might just close the application. I am wondering whether the iPhone SDK could take over the unfinished big task.

出现iPhone自己的邮件系统可以做后台发送。我准备了电子邮件,点击发送,然后立即关闭邮件应用程序。在主页上,几秒钟后,我听到声音,电子邮件已发送。

Appears iPhone's own mail system could do background send. I prepared a email, click send, then close the mail app immediately. In home page, after several seconds, I heard a sound and the email was delivered.

推荐答案

只有苹果自己的应用程序才允许在后台操作。但我认为,当用户关闭应用程序时,您的应用程序需要一些时间完成。

You're out of luck. Only Apple's own apps are allowed to operate in the background. But I think your app gets some time to finish up when the user closes the app.

这篇关于在iPhone中有任何系统级后台队列进程吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆