iOS "Data Protection" depends on user passcode set or not?

396 views Asked by At

When developing iOS Apps one can chose to add the Capability "Data Protection", which then offers more "protection".

What, after a lot of searching and reading, is still unclear to me: will the files declared to be secured with "complete protection" be encrypted even if the user doesn't set a passcode? Every thing I found always somehow involves the passcode of the user. I need to have things encrypted even though the user has no passcode set.

Thx in advance!

1

There are 1 answers

1
rmaddy On BEST ANSWER

From the iOS documentation (Protecting Data Using On-Disk Encryption):

Data protection is available on most iOS devices and is subject to the following requirements:

  • The file system on the user’s device must support data protection. Most devices support this behavior.
  • The user must have an active passcode lock set for the device.

I'd say the 2nd bullet point answers your question.