How do I prevent files from being backed up to iCloud

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
brandcode
Posts: 28
Joined: Mon Dec 01, 2014 12:28 pm

How do I prevent files from being backed up to iCloud

Post by brandcode » Fri Jan 16, 2015 5:46 pm

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

JacobS
Posts: 58
Joined: Mon Aug 20, 2012 8:41 pm

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

Post by JacobS » Fri Jan 16, 2015 8:04 pm

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

brandcode
Posts: 28
Joined: Mon Dec 01, 2014 12:28 pm

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

Post by brandcode » Sat Jan 17, 2015 3:24 pm

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

Post Reply