2

With reference to iOS 7. I couldn't find any Apple documents with regards to this.

Are we able to download any size of documents and manage them ourselves (within our app say < 100MB)?
Example, we roll out new content every month. Thus after downloading contents for this month, we should remove last month's content to save space. Content doesn't have to be backed up and will be stored in Caches folder.

5
  • 2
    Have you tried emailing Apple support about this? Commented Jan 19, 2014 at 17:05
  • where is this data comming from? Commented Jan 19, 2014 at 17:12
  • @WorldEngineer nope I haven't. Commented Jan 19, 2014 at 17:34
  • @miraculixx it'll be from my own server. Commented Jan 19, 2014 at 17:35
  • @resting in this case I don't think there is a limit to how much data your app can download, except time limits on background processing or subject to the user keeping the app active while downloading (probably not a valid assumption). You might be able to overcome background limits by splitting the data into chunks, e.g. 5 seconds at a time. Commented Jan 19, 2014 at 17:38

2 Answers 2

3

There aren't any download or storage limits for your app (other than available space on the device, of course); if there were, they'd be mentioned in the iOS Data Storage Guidelines. However, you do need to consider how your data files will work with iCloud -- in particular, you should decide whether it's okay for the device to discard your downloaded data when storage gets low.

If it's okay to remove your files, store them in the caches directory. If it's not okay, then you can store them in the documents directory and set the attributes on your files to exclude them from iCloud backup. Also, be sure to store user data separate from the downloaded data so that the user data can be backed up.

With so much data to download, you should consider using the new NSURLSession network API so that you can download data in a background session. This avoids the need to keep the app running while the data is being downloaded.

0

The limit is relative to the available storage on the device. There exist (or did exist) Navigation apps that could download well over 1GB of data.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.