Page 1 of 1

How do I prevent files from being backed up to iCloud

Posted: Fri Jan 16, 2015 5:46 pm
by brandcode
i have send my app to itunes store and for now my app have be reject ,because in the documents folder the data is more than 16mb.
the help i get from the itunes support is that i need to (prevent the file from backed up to icloud.)
is any way to do this in livecode?
Thank you

Re: How do I prevent files from being backed up to iCloud

Posted: Fri Jan 16, 2015 8:04 pm
by JacobS
I recently ran into this problem as well. You can use the command:

Code: Select all

iphoneSetDoNotBackupFile "filename", true
To stop a specific file from being backed up. If you loop over all of the files in the documents and set this property on them, you should be good to go.

Let me know how that works for you.
-Jacob

Re: How do I prevent files from being backed up to iCloud

Posted: Sat Jan 17, 2015 3:24 pm
by brandcode
JacobS wrote:I recently ran into this problem as well. You can use the command:

Code: Select all

iphoneSetDoNotBackupFile "filename", true
To stop a specific file from being backed up. If you loop over all of the files in the documents and set this property on them, you should be good to go.

Let me know how that works for you.
-Jacob
thank you Jacob i will give a try