DocumentDirectory+iOS5+iCloud==Problem?

Español


Hola.

Las restricciones de Apple a la hora de almacenar archivos en la carpeta local DocumentDirectory (gráficos, descargas,etc.) pueden hacer que no admitan tu app para publicarla, debido al backup en iCloud. ¿Alguien sabe con certeza si esto no se aplicaría a pequeños archivos de datos como archivos de configuración de la app o registros de puntuaciones? Podría utilizar el CacheDirectory, pero lo veo más apropiado para gráficos, descargas y demás recursos de ese tipo.

Gracias.

English


Hello.

Due Apple’s restrictions, when your application is saving data in local folder named DocumentDirectory (graphics, downloaded files, etc.) may do possible your app not valid to publish in AppStore, due to backup in iCloud… Anybody knows surely if that is too applied to little data files, such as configuration files, or high record files? I think i can use CacheDirectory folder instead, but i see it more useful in saving graphics, downloaded files and stuff of that kind.

Thanks.

Hello,

Do you want to “exclude” some large files in Documents from being uploaded to iCloud? You can do this using this method:

http://docs.coronalabs.com/api/library/native/setSync.html

Caches directory can not be trusted to keep data over many sessions… only Documents can be trusted for that (unless, of course, the user deletes the app entirely from the device, along with all of its data).

Best regards,

Brent

Español


Sí! Es lo que andaba buscando!

La mejor solución para mi problema, muchas gracias, Brent.

Problema resuelto.

English


Yes!  Just what i was looking for!

It’s the best solution for my problem, thank you very much, Brent.

Problem resolved.

Hello,

Do you want to “exclude” some large files in Documents from being uploaded to iCloud? You can do this using this method:

http://docs.coronalabs.com/api/library/native/setSync.html

Caches directory can not be trusted to keep data over many sessions… only Documents can be trusted for that (unless, of course, the user deletes the app entirely from the device, along with all of its data).

Best regards,

Brent

Español


Sí! Es lo que andaba buscando!

La mejor solución para mi problema, muchas gracias, Brent.

Problema resuelto.

English


Yes!  Just what i was looking for!

It’s the best solution for my problem, thank you very much, Brent.

Problem resolved.