Reputation: 1540
I am creating FTP download app that downloads into Documents Directory, and I have simple questions. Does the Documents Directory have size limit and does the download files stay there permanently until the app is removed?
Upvotes: 1
Views: 6977
Reputation: 177
============EDIT=========
the fact is: 2Gb is the app size limit, and the app's directory can more than 2Gb; I found it from apple doc is here , search keyword "2G"
I don't know if apple did some change, I use an app named PPTV, it can store videos from server, and more than 2Gb; what happens?
Upvotes: 2
Reputation: 107211
I don't know much about this, I had seen a comment in discussions.apple.com like: There is a limit of 2 GB.
https://discussions.apple.com/message/7599983?messageID=7599983#7599983?messageID=7599983
Files in the document directory stay there permanently until the app is removed.
Upvotes: 4
Reputation: 2545
You should use Cache Directory if you want to cache anything without user's action or your app will get rejected if you dont follow the instructions:
Upvotes: -1