Pregunta

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

¿Fue útil?

Solución

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.

Otros consejos

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.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top