2011-02-11 86 views
0

我在后台模式下工作时遇到问题...我有一个iPhone应用程序,它会在我的应用程序进入后台停止下载时从互联网下载一些信息(例如RSS源)。当我从后台函数调用该打开的连接并开始下载它时,就像我的互联网连接发生的事情一样,就像它关闭一样。有人回答我可以继续下载或在后台模式下启动新的文件,或者我不能。我读This,但我不明白,如果我可以在后台模式做的工作除了在后台状态下继续操作

* audio - The application plays audible content to the user while in the background. 
* location - The application keeps users informed of their location, even while running in the background. 
* voip - The application provides the ability for the user to make phone calls using an Internet connection. 

谢谢你的答案...

回答

1
  • 首先,你提到苹果的文档有你需要什么。
  • 其次,阅读这篇文章,Download data in background with iOS4
  • 三,把事情说清楚,你需要的是没有音频/位置/ VOIP,你需要的是的背景部分,这是完成有限长度任务讨论并在该Apple文档中提供了一个简短的代码示例。