I have an iPad app that uses Core Data to store data. I would like to enable file sharing in iTunes, and I do not want users to be able to delete or modify the .sqlite file.
Can I move a file to another hidden directory?
Alternatively, can the file be read-only? I would not ask users to have access to the file if it cannot be modified.
I suspect there is a trivial solution that is eluding me at the moment.
source
share