質問

I would like to exclude a whole hierarchy of files and folders from the backup using

NSFileManager.SetSkipBackupAttribute()

The documentation is about "files". Can I also pass a path and all files and folders under that path - also those ones added afterwards - won't be backed up either or do I have to set the attribute on every individual file?

役に立ちましたか?

解決

Like stated in the documentation the underlying API used (except for iOS 5.0.1) is NSUrlIsExcludedFromBackupKey and according to this answer it is recursive.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top