Search code examples
iosappstore-approvalhig

Does my app will be rejected if i store 1MB of sqlite db in NSDocument directory?


When the user taps on a button(say updateButton) the data will be downloaded and stored as a sqlite database in document directory. This data will be used whenever the user launches the app. I just want to know whether this app will be approved by appstore or not.

And also i want to know on the maximum size of the content inside the document directory.

Thanks


Solution

  • Well no your app will not be reject, I've got an app that downloads route for a server which can be up to 1GB. No problem there.

    Just make sure that you flag them not to be included in the iCloud backup or store them in the cache directory.

    Placing files in the cache directory has the draw back that if the system needs space it will delete files from the caches directory without notice.