ios - iCloud: disable incremental backup on file -


in documents directory of app big binary file needs in backup (isexcludedfrombackup = false). works fine, icloud incremental backup , big binary file can change lot, i'd disable incremental backup on file (otherwise backup size grow fast).

does know if possible?

maybe can try follows:

do {

var url = url.init(fileurlwithpath: "") var resourcevalues = urlresourcevalues() resourcevalues.isexcludedfrombackup = true try url.setresourcevalues(resourcevalues) 

} catch {

}


Comments

Popular posts from this blog

javascript - Thinglink image not visible until browser resize -

firebird - Error "invalid transaction handle (expecting explicit transaction start)" executing script from Delphi -

mongodb - How to keep track of users making Stripe Payments -