How to let download file keep running after Home button pressed on iphone
I am developing an iPhone app.
It needs to download some files in the background and it will take several hours, so I want to let the user j开发者_开发知识库ust press Home button to send it back and do other jobs.
Is it possible to let the download task keep running in the background after Home button was pressed? (iOS4/iOS5)
Yes, but only for 10 minutes:
See "task completion" in iOS Multitasking Guide
精彩评论