Type Property


A hint to set the content protection attribute of the file when writing it out.


static var completeFileProtectionUnlessOpen: NSData.WritingOptions { get }


In this case, the file cannot be opened for reading or writing when the device is locked, although new files can be created with this class. If one of these files is open when the device is locked, reading and writing are still allowed.