iPhone Documents目录的最大大小 [英] iPhone Documents directory maximum size
问题描述
我只是想知道由于新的个人项目,这是我的应用程序的文档目录的限制(以MB或GB为单位)。我只想保存很多照片,那么,文件目录是否存档下载照片的限制? 3G节省300MB的照片会减缓吗?
如果没有限制,我认为该限制应该是iPhone的8 16 32 GB,是否有任何方法可以知道可用空间?
I'm just wondering due to new personal project which is the limit (in MB or GB) of documents directory of my app. I just wanna save a lot of photos, so, has documents directory a limit for archiving downloaded photos? Will saving 300MB of photos produce slow downs on 3G? If there is no limit, I think that limit shoud be the 8 16 32 GB of the iPhone, are there any method to know the free space?
推荐答案
根据discussion.apple.com:限制为2 GB。
According to a discussions.apple.com: 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.
这篇关于iPhone Documents目录的最大大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!