I have an already running enterprise application which stores a lot of documents inside the documents folders. I wish to disable the iCloud backup of all these documents and folders inside the Documents folder.
The problem is that the contents inside the folder keep on changing dynamically and the idea of adding
kCFURLIsExcludedFromBackupKey
for every files sounds a bit difficult, as there are multiple classes in my code which can write to the documents directory.
Is there any way I can disable the upload of the entire documents folder and its subfolder.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…