Hello guys, These days I working on an app who needs to prevent backup files on iTunes/iClaud if user doesn't want to encrypt backup file. Actually, idea is that I allow someone to do backup of all app data only if backup is encrypted. I know, there is a way to exclude file/folder from backup but for me is interesting option to do that only if backup is unencrypted. This is very important for user who buys new device and want to do synchronization of whole device. Thanks in advance, Ivan
Exclude file/folder from unencrypted backup
One option would be to encrypt your data with a key that you store in the keychain. That way the data is only meaningful if the keychain key is included in the backup, that is, when the backup is encrypted.
Share and Enjoy
—
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"