Setting URLIsExcludedFromBackupKey from LiveCode?

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
davew
Posts: 2
Joined: Fri Sep 02, 2011 8:05 pm

Setting URLIsExcludedFromBackupKey from LiveCode?

Post by davew » Tue Aug 28, 2012 3:18 pm

Greetings LiveCoders. I have to set the "don't backup to iCloud" attribute (Cocoa: NSURLIsExcludedFromBackupKey, Carbon: kCFURLIsExcludedFromBackupKey) on a folder from LiveCode and I can't see any built-in way to do so.

Does anyone know of a way to set this attribute from LiveCode short of resorting to an external plug-in?

An update to a previously approved app got rejected for putting ~1MB of data into iCloud after launch, which it's always done. It's use editable but I'd like to tag it so it's not backed up unless/until it's actually modified.

Thanks
Dave

monte
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1564
Joined: Fri Jan 13, 2012 1:47 am
Contact:

Re: Setting URLIsExcludedFromBackupKey from LiveCode?

Post by monte » Mon Sep 03, 2012 9:57 pm

The engine now has a command iphoneSetDoNotBackupFile. I think it was either a 5.5 or 5.5.1 change. If your not on 5.5 yet I have a free external that does it at mergExt.com

Cheers

Monte
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/

Post Reply

Return to “iOS Deployment”