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 { }