Hi guys,
I've been digging through documentation and can't find a consistent answer to a seemingly simple question:
Does enabling Data Protection in the Capabilities section of my Xcode project automatically encrypt files in the documents directory when the device is locked?
I see some places say yes, other places say you need to declare an NSFileManager, and other places say NSFileManager is only if you need to encrypt certain files and for those who want all files encrypted, enabling the Data Protection entitlement under Capabilities is all you need to do, no tagging of files necessary.
I was hoping someone can clear this up for me.
I've been digging through documentation and can't find a consistent answer to a seemingly simple question:
Does enabling Data Protection in the Capabilities section of my Xcode project automatically encrypt files in the documents directory when the device is locked?
I see some places say yes, other places say you need to declare an NSFileManager, and other places say NSFileManager is only if you need to encrypt certain files and for those who want all files encrypted, enabling the Data Protection entitlement under Capabilities is all you need to do, no tagging of files necessary.
I was hoping someone can clear this up for me.