iOS Documents Directory size limit

后端 未结 3 1627
-上瘾入骨i
-上瘾入骨i 2020-12-07 05:59

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

相关标签:
3条回答
  • 2020-12-07 06:20

    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:

    http://developer.apple.com/library/ios/#documentation/iphone/conceptual/iphoneosprogrammingguide/PerformanceTuning/PerformanceTuning.html

    0 讨论(0)
  • 2020-12-07 06:29

    ============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?

    0 讨论(0)
  • 2020-12-07 06:30

    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.

    0 讨论(0)
提交回复
热议问题