如果我在NSDocument目录中存储1MB的sqlite数据库,我的应用程序是否会被拒绝?

时间:2013-10-15 10:29:16

标签: ios appstore-approval hig

当用户点击按钮(比如updateButton)时,数据将被下载并存储为文档目录中的sqlite数据库。只要用户启动应用程序,就会使用此数据。我只是想知道这个应用程序是否会被appstore批准。

我还想了解文档目录中内容的最大大小。

由于

2 个答案:

答案 0 :(得分:4)

没有你的应用程序不会拒绝,我有一个应用程序,下载服务器的路由,最高可达1GB。没问题。

请确保标记它们不包含在iCloud备份中或将它们存储在缓存目录中。

将文件放在缓存目录中有一个缺点,即如果系统需要空间,它将从缓存目录中删除文件,恕不另行通知。

答案 1 :(得分:1)

As per Apple Document, There will be noting in Document Directory when user just install the app. If the User launches the app, then you put anything in Document Directory.

You can use the all the free memory of the device for Document Directory.